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

Unified Diff: chrome/browser/notifications/sync_notifier/image_holder.cc

Issue 253623002: Remove BitmapFetcher's dependency on Profile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/notifications/sync_notifier/image_holder.cc
diff --git a/chrome/browser/notifications/sync_notifier/image_holder.cc b/chrome/browser/notifications/sync_notifier/image_holder.cc
index 7e82aa1b0b1d6145fb2897dd4d7c077b0940f23b..c5dcbc16740efe4f7c74a30de0efe40c3f6d80bc 100644
--- a/chrome/browser/notifications/sync_notifier/image_holder.cc
+++ b/chrome/browser/notifications/sync_notifier/image_holder.cc
@@ -7,6 +7,8 @@
#include "chrome/browser/notifications/sync_notifier/image_holder.h"
+#include "chrome/browser/profiles/profile.h"
+
namespace notifier {
ImageHolder::ImageHolder(const GURL& low_dpi_url,
@@ -65,7 +67,7 @@ void ImageHolder::StartFetch() {
// Now that we have queued them all, start the fetching.
ScopedVector<chrome::BitmapFetcher>::iterator iter;
for (iter = fetchers_.begin(); iter != fetchers_.end(); ++iter) {
- (*iter)->Start(profile_);
+ (*iter)->Start(profile_->GetRequestContext());
}
}
« no previous file with comments | « chrome/browser/bitmap_fetcher_browsertest.cc ('k') | chrome/browser/notifications/sync_notifier/synced_notification.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698