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

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: 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..16b17a4f1eddaf83ca606e39db55a758d9c36041 100644
--- a/chrome/browser/ui/web_applications/web_app_ui.cc
+++ b/chrome/browser/ui/web_applications/web_app_ui.cc
@@ -24,6 +24,7 @@
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/notification_source.h"
#include "content/public/browser/web_contents.h"
+#include "content/public/common/content_constants.h"
#include "googleurl/src/gurl.h"
#include "grit/theme_resources.h"
#include "skia/ext/image_operations.h"
@@ -172,6 +173,7 @@ void UpdateShortcutWorker::DownloadIcon() {
web_contents_->DownloadFavicon(
unprocessed_icons_.back().url,
+ content::DOWNLOAD_FAVICON,
std::max(unprocessed_icons_.back().width,
unprocessed_icons_.back().height),
base::Bind(&UpdateShortcutWorker::DidDownloadFavicon,

Powered by Google App Engine
This is Rietveld 408576698