| 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 6c194b137fd4e24981771d3f91277341f79e04ca..ceea05052c4ffb80f9a5f413bea2a3b0159437ed 100644
|
| --- a/chrome/browser/dom_distiller/dom_distiller_service_factory.cc
|
| +++ b/chrome/browser/dom_distiller/dom_distiller_service_factory.cc
|
| @@ -18,6 +18,7 @@
|
| #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 {
|
|
|
| @@ -70,7 +71,9 @@ KeyedService* DomDistillerServiceFactory::BuildServiceInstanceFor(
|
| scoped_ptr<DistillerPageFactory> distiller_page_factory(
|
| new DistillerPageWebContentsFactory(profile));
|
| scoped_ptr<DistillerURLFetcherFactory> distiller_url_fetcher_factory(
|
| - new DistillerURLFetcherFactory(profile->GetRequestContext()));
|
| + new DistillerURLFetcherFactory(
|
| + content::BrowserContext::GetDefaultStoragePartition(profile)->
|
| + GetURLRequestContext()));
|
|
|
| dom_distiller::proto::DomDistillerOptions options;
|
| if (VLOG_IS_ON(1)) {
|
|
|