diff options
-rw-r--r-- | chrome/browser/views/frame/glass_browser_frame_view.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/views/frame/glass_browser_frame_view.cc b/chrome/browser/views/frame/glass_browser_frame_view.cc index b8758b9..e274437 100644 --- a/chrome/browser/views/frame/glass_browser_frame_view.cc +++ b/chrome/browser/views/frame/glass_browser_frame_view.cc @@ -395,8 +395,14 @@ void GlassBrowserFrameView::StartThrobber() { } void GlassBrowserFrameView::StopThrobber() { - if (throbber_running_) + if (throbber_running_) { throbber_running_ = false; + + // This will reset the small icon which we set in the throbber code. + // Windows will then pick up the default icon from the window class. + SendMessage(frame_->GetNativeView(), WM_SETICON, + static_cast<WPARAM>(ICON_SMALL), NULL); + } } void GlassBrowserFrameView::DisplayNextThrobberFrame() { |