Index: components/dom_distiller/standalone/content_extractor_browsertest.cc |
diff --git a/components/dom_distiller/standalone/content_extractor_browsertest.cc b/components/dom_distiller/standalone/content_extractor_browsertest.cc |
index 3655826e0de358503fcbcd596d74888d642cea10..1636bc607abafbbc90972367d4c19fa73fd86535 100644 |
--- a/components/dom_distiller/standalone/content_extractor_browsertest.cc |
+++ b/components/dom_distiller/standalone/content_extractor_browsertest.cc |
@@ -31,7 +31,6 @@ |
#include "components/pref_registry/testing_pref_service_syncable.h" |
#include "content/public/browser/browser_context.h" |
#include "content/public/browser/browser_thread.h" |
-#include "content/public/browser/storage_partition.h" |
#include "content/public/common/isolated_world_ids.h" |
#include "content/public/test/content_browser_test.h" |
#include "content/shell/browser/shell.h" |
@@ -140,9 +139,7 @@ |
scoped_ptr<DistillerPageFactory> distiller_page_factory( |
new DistillerPageWebContentsFactory(context)); |
scoped_ptr<DistillerURLFetcherFactory> distiller_url_fetcher_factory( |
- new DistillerURLFetcherFactory( |
- content::BrowserContext::GetDefaultStoragePartition(context)-> |
- GetURLRequestContext())); |
+ new DistillerURLFetcherFactory(context->GetRequestContext())); |
dom_distiller::proto::DomDistillerOptions options; |
if (base::CommandLine::ForCurrentProcess()->HasSwitch(kExtractTextOnly)) { |