Index: chrome/browser/extensions/api/tabs/tabs_event_router.cc |
diff --git a/chrome/browser/extensions/api/tabs/tabs_event_router.cc b/chrome/browser/extensions/api/tabs/tabs_event_router.cc |
index 188e2e9c65b8e6f33e6f1346e4bd1100ee5e52d0..89c04e9f4a51ccb0cc4fc7b598aec695d1a2eeee 100644 |
--- a/chrome/browser/extensions/api/tabs/tabs_event_router.cc |
+++ b/chrome/browser/extensions/api/tabs/tabs_event_router.cc |
@@ -546,12 +546,13 @@ void TabsEventRouter::OnZoomChanged( |
EventRouter::USER_GESTURE_UNKNOWN); |
} |
-void TabsEventRouter::OnFaviconAvailable(const gfx::Image& image) { |
-} |
- |
-void TabsEventRouter::OnFaviconUpdated(favicon::FaviconDriver* favicon_driver, |
- bool icon_url_changed) { |
- if (icon_url_changed) { |
+void TabsEventRouter::OnFaviconUpdated( |
+ favicon::FaviconDriver* favicon_driver, |
+ NotificationIconType notification_icon_type, |
+ const GURL& icon_url, |
+ bool icon_url_changed, |
+ const gfx::Image& image) { |
+ if (notification_icon_type == NON_TOUCH_16_DIP && icon_url_changed) { |
favicon::ContentFaviconDriver* content_favicon_driver = |
static_cast<favicon::ContentFaviconDriver*>(favicon_driver); |
FaviconUrlUpdated(content_favicon_driver->web_contents()); |