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

Unified Diff: chrome/browser/ui/views/create_application_shortcut_view.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/views/create_application_shortcut_view.cc
diff --git a/chrome/browser/ui/views/create_application_shortcut_view.cc b/chrome/browser/ui/views/create_application_shortcut_view.cc
index 1d27d3a29107a50731b50ebc1acc253fa197fb77..f2d78792a31d011fa00968dfa9b7fa9c6a73903c 100644
--- a/chrome/browser/ui/views/create_application_shortcut_view.cc
+++ b/chrome/browser/ui/views/create_application_shortcut_view.cc
@@ -27,6 +27,7 @@
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/browser/web_contents.h"
+#include "content/public/common/content_constants.h"
#include "googleurl/src/gurl.h"
#include "grit/generated_resources.h"
#include "grit/locale_settings.h"
@@ -492,6 +493,7 @@ void CreateUrlApplicationShortcutView::FetchIcon() {
pending_download_id_ = web_contents_->DownloadFavicon(
unprocessed_icons_.back().url,
+ content::DOWNLOAD_FAVICON,
std::max(unprocessed_icons_.back().width,
unprocessed_icons_.back().height),
base::Bind(&CreateUrlApplicationShortcutView::DidDownloadFavicon,

Powered by Google App Engine
This is Rietveld 408576698