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

Unified Diff: components/dom_distiller/core/fake_distiller_page.h

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/fake_distiller_page.h
diff --git a/components/dom_distiller/core/fake_distiller_page.h b/components/dom_distiller/core/fake_distiller_page.h
index 2e88389c2e67d594bbce9894ede50f20035e5353..afe4a45626dd7335ac535d291e1f4a1a9246b85a 100644
--- a/components/dom_distiller/core/fake_distiller_page.h
+++ b/components/dom_distiller/core/fake_distiller_page.h
@@ -16,7 +16,8 @@ class MockDistillerPageFactory : public DistillerPageFactory {
MockDistillerPageFactory();
virtual ~MockDistillerPageFactory();
MOCK_CONST_METHOD0(CreateDistillerPageImpl, DistillerPage*());
- virtual scoped_ptr<DistillerPage> CreateDistillerPage() const OVERRIDE {
+ virtual scoped_ptr<DistillerPage> CreateDistillerPage(
+ const gfx::Size& render_view_size) const OVERRIDE {
return scoped_ptr<DistillerPage>(CreateDistillerPageImpl());
}
virtual scoped_ptr<DistillerPage> CreateDistillerPageWithHandle(
« no previous file with comments | « components/dom_distiller/core/dom_distiller_service_unittest.cc ('k') | components/dom_distiller/core/viewer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698