Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Unified Diff: chrome/browser/favicon/favicon_tab_helper.cc

Issue 12945007: Fix Notifications Icon loading. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/favicon/favicon_tab_helper.cc
diff --git a/chrome/browser/favicon/favicon_tab_helper.cc b/chrome/browser/favicon/favicon_tab_helper.cc
index 9163926f08751cbccf94d3c27f87687a7cf5fb99..8d17dcd48ec318cb38759b466c8d2d31a1082909 100644
--- a/chrome/browser/favicon/favicon_tab_helper.cc
+++ b/chrome/browser/favicon/favicon_tab_helper.cc
@@ -132,9 +132,11 @@ NavigationEntry* FaviconTabHelper::GetActiveEntry() {
}
int FaviconTabHelper::StartDownload(const GURL& url, int image_size) {
- return web_contents()->DownloadFavicon(url, image_size,
- base::Bind(&FaviconTabHelper::DidDownloadFavicon,
- base::Unretained(this)));
+ return web_contents()->DownloadFavicon(
+ url,
+ true,
+ image_size,
+ base::Bind(&FaviconTabHelper::DidDownloadFavicon,base::Unretained(this)));
}
void FaviconTabHelper::NotifyFaviconUpdated(bool icon_url_changed) {
« no previous file with comments | « android_webview/browser/icon_helper.cc ('k') | chrome/browser/notifications/message_center_notification_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698