Index: components/dom_distiller/core/distiller.cc |
diff --git a/components/dom_distiller/core/distiller.cc b/components/dom_distiller/core/distiller.cc |
index 7d044ebe77f6a29d844dbb740d650a987e86210c..84b8a0508db4eb8951c5b7443da8f6aa4cbe3d9b 100644 |
--- a/components/dom_distiller/core/distiller.cc |
+++ b/components/dom_distiller/core/distiller.cc |
@@ -30,8 +30,10 @@ DistillerFactoryImpl::DistillerFactoryImpl( |
DistillerFactoryImpl::~DistillerFactoryImpl() {} |
scoped_ptr<Distiller> DistillerFactoryImpl::CreateDistiller() { |
- return scoped_ptr<Distiller>(new DistillerImpl( |
+ scoped_ptr<DistillerImpl> distiller(new DistillerImpl( |
*distiller_page_factory_, *distiller_url_fetcher_factory_)); |
+ distiller->Init(); |
+ return distiller.PassAs<Distiller>(); |
} |
DistillerImpl::DistillerImpl( |