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

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

Issue 396503003: DomDistiller: fix 0 document width (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resolve patch conflicts Created 6 years, 5 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/dom_distiller_service.cc
diff --git a/components/dom_distiller/core/dom_distiller_service.cc b/components/dom_distiller/core/dom_distiller_service.cc
index 311d6e1dde4953c12316dde8a9c913966c432b27..983452d0fb483775cfbf14355b3f173388b87ec0 100644
--- a/components/dom_distiller/core/dom_distiller_service.cc
+++ b/components/dom_distiller/core/dom_distiller_service.cc
@@ -55,8 +55,9 @@ syncer::SyncableService* DomDistillerService::GetSyncableService() const {
return store_->GetSyncableService();
}
-scoped_ptr<DistillerPage> DomDistillerService::CreateDefaultDistillerPage() {
- return distiller_page_factory_->CreateDistillerPage().Pass();
+scoped_ptr<DistillerPage> DomDistillerService::CreateDefaultDistillerPage(
+ const gfx::Size& render_view_size) {
+ return distiller_page_factory_->CreateDistillerPage(render_view_size).Pass();
}
scoped_ptr<DistillerPage>
« no previous file with comments | « components/dom_distiller/core/dom_distiller_service.h ('k') | components/dom_distiller/core/dom_distiller_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698