Index: chrome/browser/dom_distiller/dom_distiller_service_factory.cc |
diff --git a/chrome/browser/dom_distiller/dom_distiller_service_factory.cc b/chrome/browser/dom_distiller/dom_distiller_service_factory.cc |
index ceea05052c4ffb80f9a5f413bea2a3b0159437ed..6c194b137fd4e24981771d3f91277341f79e04ca 100644 |
--- a/chrome/browser/dom_distiller/dom_distiller_service_factory.cc |
+++ b/chrome/browser/dom_distiller/dom_distiller_service_factory.cc |
@@ -18,7 +18,6 @@ |
#include "components/leveldb_proto/proto_database_impl.h" |
#include "content/public/browser/browser_context.h" |
#include "content/public/browser/browser_thread.h" |
-#include "content/public/browser/storage_partition.h" |
namespace dom_distiller { |
@@ -71,9 +70,7 @@ |
scoped_ptr<DistillerPageFactory> distiller_page_factory( |
new DistillerPageWebContentsFactory(profile)); |
scoped_ptr<DistillerURLFetcherFactory> distiller_url_fetcher_factory( |
- new DistillerURLFetcherFactory( |
- content::BrowserContext::GetDefaultStoragePartition(profile)-> |
- GetURLRequestContext())); |
+ new DistillerURLFetcherFactory(profile->GetRequestContext())); |
dom_distiller::proto::DomDistillerOptions options; |
if (VLOG_IS_ON(1)) { |