summaryrefslogtreecommitdiffstats
path: root/components/dom_distiller/core/distiller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/dom_distiller/core/distiller.cc')
-rw-r--r--components/dom_distiller/core/distiller.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/components/dom_distiller/core/distiller.cc b/components/dom_distiller/core/distiller.cc
index acbb68e..d720a5b 100644
--- a/components/dom_distiller/core/distiller.cc
+++ b/components/dom_distiller/core/distiller.cc
@@ -39,7 +39,6 @@ DistillerFactoryImpl::~DistillerFactoryImpl() {}
scoped_ptr<Distiller> DistillerFactoryImpl::CreateDistiller() {
scoped_ptr<DistillerImpl> distiller(new DistillerImpl(
*distiller_page_factory_, *distiller_url_fetcher_factory_));
- distiller->Init();
return distiller.PassAs<Distiller>();
}
@@ -61,11 +60,6 @@ DistillerImpl::~DistillerImpl() {
DCHECK(destruction_allowed_);
}
-void DistillerImpl::Init() {
- DCHECK(AreAllPagesFinished());
- distiller_page_->Init();
-}
-
void DistillerImpl::SetMaxNumPagesInArticle(size_t max_num_pages) {
max_pages_in_article_ = max_num_pages;
}