Index: chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc |
diff --git a/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc b/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc |
index 15266ce987522443181835c0068bf256bfbbb8fc..42fb70641366b725cffb21d1426dfa3e91e763e5 100644 |
--- a/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc |
+++ b/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc |
@@ -11,6 +11,7 @@ |
#include "base/memory/weak_ptr.h" |
#include "chrome/browser/bitmap_fetcher/bitmap_fetcher.h" |
#include "chrome/browser/profiles/profile.h" |
+#include "content/public/browser/storage_partition.h" |
#include "net/base/load_flags.h" |
#include "third_party/skia/include/core/SkBitmap.h" |
@@ -128,7 +129,8 @@ scoped_ptr<chrome::BitmapFetcher> BitmapFetcherService::CreateFetcher( |
new chrome::BitmapFetcher(url, this)); |
new_fetcher->Init( |
- context_->GetRequestContext(), |
+ content::BrowserContext::GetDefaultStoragePartition(context_)-> |
+ GetURLRequestContext(), |
std::string(), |
net::URLRequest::CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE, |
net::LOAD_NORMAL); |