Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(802)

Unified Diff: components/dom_distiller/core/task_tracker.cc

Issue 687183003: add options to specify original domain(s) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comment Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/dom_distiller/core/task_tracker.cc
diff --git a/components/dom_distiller/core/task_tracker.cc b/components/dom_distiller/core/task_tracker.cc
index d49f83d8d5d9bc4c6a484b3ce03d15793ac084ee..d9eb43afbef0e3266fc481b244078d47daf89fc2 100644
--- a/components/dom_distiller/core/task_tracker.cc
+++ b/components/dom_distiller/core/task_tracker.cc
@@ -49,7 +49,7 @@ void TaskTracker::StartDistiller(DistillerFactory* factory,
GURL url(entry_.pages(0).url());
DCHECK(url.is_valid());
- distiller_ = factory->CreateDistiller();
+ distiller_ = factory->CreateDistillerForUrl(url);
distiller_->DistillPage(url,
distiller_page.Pass(),
base::Bind(&TaskTracker::OnDistillerFinished,
« no previous file with comments | « components/dom_distiller/core/fake_distiller.h ('k') | components/dom_distiller/standalone/content_extractor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698