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

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: 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..ae7786f85add756abb7a07fba0e674fe53c605eb 100644
--- a/chrome/browser/ui/extensions/shell_window.cc
+++ b/chrome/browser/ui/extensions/shell_window.cc
@@ -41,6 +41,7 @@
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/resource_dispatcher_host.h"
#include "content/public/browser/web_contents.h"
+#include "content/public/common/content_constants.h"
#include "content/public/common/media_stream_request.h"
#include "skia/ext/image_operations.h"
#include "third_party/skia/include/core/SkRegion.h"
@@ -358,7 +359,9 @@ string16 ShellWindow::GetTitle() const {
void ShellWindow::SetAppIconUrl(const GURL& url) {
app_icon_url_ = url;
- web_contents()->DownloadFavicon(url, kPreferredIconSize,
+ web_contents()->DownloadFavicon(url,
+ content::DOWNLOAD_FAVICON,
+ kPreferredIconSize,
base::Bind(&ShellWindow::DidDownloadFavicon,
weak_ptr_factory_.GetWeakPtr()));
}

Powered by Google App Engine
This is Rietveld 408576698