Index: chrome/browser/extensions/api/dashboard_private/dashboard_private_api.cc |
diff --git a/chrome/browser/extensions/api/dashboard_private/dashboard_private_api.cc b/chrome/browser/extensions/api/dashboard_private/dashboard_private_api.cc |
index 7f75beddf347ef18f1aef29bacc955cddbd79d1d..146a6f93370ba676cc44bcd7ea6673dd3eb8f636 100644 |
--- a/chrome/browser/extensions/api/dashboard_private/dashboard_private_api.cc |
+++ b/chrome/browser/extensions/api/dashboard_private/dashboard_private_api.cc |
@@ -11,7 +11,6 @@ |
#include "chrome/browser/bitmap_fetcher/bitmap_fetcher.h" |
#include "chrome/browser/profiles/profile.h" |
#include "components/crx_file/id_util.h" |
-#include "content/public/browser/storage_partition.h" |
#include "extensions/common/extension.h" |
#include "net/base/load_flags.h" |
#include "net/url_request/url_request.h" |
@@ -75,11 +74,8 @@ |
} |
net::URLRequestContextGetter* context_getter = nullptr; |
- if (!icon_url.is_empty()) { |
- context_getter = |
- content::BrowserContext::GetDefaultStoragePartition(browser_context())-> |
- GetURLRequestContext(); |
- } |
+ if (!icon_url.is_empty()) |
+ context_getter = browser_context()->GetRequestContext(); |
scoped_refptr<WebstoreInstallHelper> helper = new WebstoreInstallHelper( |
this, params_->details.id, params_->details.manifest, icon_url, |