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

Unified Diff: chrome/browser/ui/web_applications/web_app_ui.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/web_applications/web_app_ui.cc
diff --git a/chrome/browser/ui/web_applications/web_app_ui.cc b/chrome/browser/ui/web_applications/web_app_ui.cc
index 34ad3d0994fe056d0662e1e20e848ba65cea95bc..cfe3c0959f2b232bc5dfeeb0bab0d8d9f6a6b486 100644
--- a/chrome/browser/ui/web_applications/web_app_ui.cc
+++ b/chrome/browser/ui/web_applications/web_app_ui.cc
@@ -172,6 +172,7 @@ void UpdateShortcutWorker::DownloadIcon() {
web_contents_->DownloadFavicon(
unprocessed_icons_.back().url,
+ true, // favicon
std::max(unprocessed_icons_.back().width,
unprocessed_icons_.back().height),
base::Bind(&UpdateShortcutWorker::DidDownloadFavicon,
« no previous file with comments | « chrome/browser/ui/views/create_application_shortcut_view.cc ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698