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 1636bc607abafbbc90972367d4c19fa73fd86535..3655826e0de358503fcbcd596d74888d642cea10 100644 |
--- a/components/dom_distiller/standalone/content_extractor_browsertest.cc |
+++ b/components/dom_distiller/standalone/content_extractor_browsertest.cc |
@@ -31,6 +31,7 @@ |
#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" |
@@ -139,7 +140,9 @@ scoped_ptr<DomDistillerService> CreateDomDistillerService( |
scoped_ptr<DistillerPageFactory> distiller_page_factory( |
new DistillerPageWebContentsFactory(context)); |
scoped_ptr<DistillerURLFetcherFactory> distiller_url_fetcher_factory( |
- new DistillerURLFetcherFactory(context->GetRequestContext())); |
+ new DistillerURLFetcherFactory( |
+ content::BrowserContext::GetDefaultStoragePartition(context)-> |
+ GetURLRequestContext())); |
dom_distiller::proto::DomDistillerOptions options; |
if (base::CommandLine::ForCurrentProcess()->HasSwitch(kExtractTextOnly)) { |