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 42fb70641366b725cffb21d1426dfa3e91e763e5..15266ce987522443181835c0068bf256bfbbb8fc 100644 |
--- a/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc |
+++ b/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc |
@@ -11,7 +11,6 @@ |
#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" |
@@ -129,8 +128,7 @@ |
new chrome::BitmapFetcher(url, this)); |
new_fetcher->Init( |
- content::BrowserContext::GetDefaultStoragePartition(context_)-> |
- GetURLRequestContext(), |
+ context_->GetRequestContext(), |
std::string(), |
net::URLRequest::CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE, |
net::LOAD_NORMAL); |