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

Unified Diff: chrome/browser/ui/extensions/shell_window.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/ui/extensions/shell_window.cc
diff --git a/chrome/browser/ui/extensions/shell_window.cc b/chrome/browser/ui/extensions/shell_window.cc
index ade284ac01765dc9b3b300e66f1b4c9b9f007877..b0efa69e94a6d48392ff7f29ff4165c96475ced5 100644
--- a/chrome/browser/ui/extensions/shell_window.cc
+++ b/chrome/browser/ui/extensions/shell_window.cc
@@ -358,7 +358,9 @@ string16 ShellWindow::GetTitle() const {
void ShellWindow::SetAppIconUrl(const GURL& url) {
app_icon_url_ = url;
- web_contents()->DownloadFavicon(url, kPreferredIconSize,
+ web_contents()->DownloadFavicon(url,
+ true,
+ kPreferredIconSize,
base::Bind(&ShellWindow::DidDownloadFavicon,
weak_ptr_factory_.GetWeakPtr()));
}
« no previous file with comments | « chrome/browser/ui/ash/launcher/launcher_favicon_loader.cc ('k') | chrome/browser/ui/metro_pin_tab_helper_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698