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

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: 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 fd1405d02a3ff69de93b65fdaf50f1499b19bb10..3a40c8552a3e2a7cd3edae26ab1b89284fd82252 100644
--- a/components/dom_distiller/core/dom_distiller_service.cc
+++ b/components/dom_distiller/core/dom_distiller_service.cc
@@ -53,8 +53,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>

Powered by Google App Engine
This is Rietveld 408576698