diff options
Diffstat (limited to 'chrome/browser/favicon/favicon_tab_helper.cc')
-rw-r--r-- | chrome/browser/favicon/favicon_tab_helper.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/favicon/favicon_tab_helper.cc b/chrome/browser/favicon/favicon_tab_helper.cc index 0200e47..426d3e7 100644 --- a/chrome/browser/favicon/favicon_tab_helper.cc +++ b/chrome/browser/favicon/favicon_tab_helper.cc @@ -15,6 +15,7 @@ #include "content/browser/tab_contents/tab_contents_delegate.h" #include "content/browser/tab_contents/tab_contents.h" #include "content/browser/webui/web_ui.h" +#include "content/common/notification_service.h" #include "ui/gfx/codec/png_codec.h" #include "ui/gfx/image/image.h" @@ -135,6 +136,10 @@ void FaviconTabHelper::StartDownload(int id, const GURL& url, int image_size) { } void FaviconTabHelper::NotifyFaviconUpdated() { + NotificationService::current()->Notify( + NotificationType::FAVICON_UPDATED, + Source<TabContents>(tab_contents()), + NotificationService::NoDetails()); tab_contents()->NotifyNavigationStateChanged(TabContents::INVALIDATE_TAB); } |