| 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 0d9d5e3678b818ea5ecca820fe789b0f1405d6b3..1d27184c7f0326b48dab2e0a185ac47ee378160a 100644 | 
| --- a/chrome/browser/dom_distiller/dom_distiller_service_factory.cc | 
| +++ b/chrome/browser/dom_distiller/dom_distiller_service_factory.cc | 
| @@ -5,6 +5,7 @@ | 
| #include "chrome/browser/dom_distiller/dom_distiller_service_factory.h" | 
|  | 
| #include "base/threading/sequenced_worker_pool.h" | 
| +#include "chrome/browser/profiles/profile.h" | 
| #include "components/dom_distiller/content/distiller_page_web_contents.h" | 
| #include "components/dom_distiller/core/article_entry.h" | 
| #include "components/dom_distiller/core/distiller.h" | 
| @@ -20,9 +21,12 @@ namespace dom_distiller { | 
| DomDistillerContextKeyedService::DomDistillerContextKeyedService( | 
| scoped_ptr<DomDistillerStoreInterface> store, | 
| scoped_ptr<DistillerFactory> distiller_factory, | 
| -    scoped_ptr<DistillerPageFactory> distiller_page_factory) | 
| -    : DomDistillerService(store.Pass(), distiller_factory.Pass(), | 
| -                          distiller_page_factory.Pass()) {} | 
| +    scoped_ptr<DistillerPageFactory> distiller_page_factory, | 
| +    scoped_ptr<ReaderModePrefs> reader_mode_prefs) | 
| +    : DomDistillerService(store.Pass(), | 
| +                          distiller_factory.Pass(), | 
| +                          distiller_page_factory.Pass(), | 
| +                          reader_mode_prefs.Pass()) {} | 
|  | 
| // static | 
| DomDistillerServiceFactory* DomDistillerServiceFactory::GetInstance() { | 
| @@ -72,11 +76,15 @@ KeyedService* DomDistillerServiceFactory::BuildServiceInstanceFor( | 
| } | 
| scoped_ptr<DistillerFactory> distiller_factory( | 
| new DistillerFactoryImpl(distiller_url_fetcher_factory.Pass(), options)); | 
| +  scoped_ptr<ReaderModePrefs> reader_mode_prefs( | 
| +      new ReaderModePrefs(Profile::FromBrowserContext(profile)->GetPrefs())); | 
| + | 
|  | 
| DomDistillerContextKeyedService* service = | 
| new DomDistillerContextKeyedService( | 
| dom_distiller_store.PassAs<DomDistillerStoreInterface>(), | 
| -          distiller_factory.Pass(), distiller_page_factory.Pass()); | 
| +          distiller_factory.Pass(), distiller_page_factory.Pass(), | 
| +          reader_mode_prefs.Pass()); | 
|  | 
| return service; | 
| } | 
|  |