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

Unified Diff: chrome/browser/ui/views/ash/balloon_view_ash.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/ash/balloon_view_ash.cc
diff --git a/chrome/browser/ui/views/ash/balloon_view_ash.cc b/chrome/browser/ui/views/ash/balloon_view_ash.cc
index a9cb9d71a13db52fa236ae60a5544d39b01a5d25..a9ef4274e802c48250f85ae475ab699467cdd0ab 100644
--- a/chrome/browser/ui/views/ash/balloon_view_ash.cc
+++ b/chrome/browser/ui/views/ash/balloon_view_ash.cc
@@ -18,6 +18,7 @@
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_delegate.h"
#include "content/public/browser/web_contents_observer.h"
+#include "content/public/common/content_constants.h"
#include "ipc/ipc_message.h"
#include "ipc/ipc_message_macros.h"
#include "third_party/skia/include/core/SkBitmap.h"
@@ -89,8 +90,10 @@ BalloonViewAsh::ImageDownload::ImageDownload(const Notification& notification,
return;
}
- contents->DownloadFavicon(url_, size_, base::Bind(&ImageDownload::Downloaded,
- AsWeakPtr()));
+ contents->DownloadFavicon(url_,
+ content::DOWNLOAD_OTHER,
+ size_,
+ base::Bind(&ImageDownload::Downloaded,AsWeakPtr()));
}

Powered by Google App Engine
This is Rietveld 408576698