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

Unified Diff: components/dom_distiller/core/viewer_unittest.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
« no previous file with comments | « components/dom_distiller/core/viewer.cc ('k') | components/dom_distiller/standalone/content_extractor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller/core/viewer_unittest.cc
diff --git a/components/dom_distiller/core/viewer_unittest.cc b/components/dom_distiller/core/viewer_unittest.cc
index 20fd27d9b4f4621541589c9d09bfac5c5c097715..7aeba31d8b9ac2afc860017455f1aa3239e83aac 100644
--- a/components/dom_distiller/core/viewer_unittest.cc
+++ b/components/dom_distiller/core/viewer_unittest.cc
@@ -60,7 +60,8 @@ class TestDomDistillerService : public DomDistillerServiceInterface {
virtual scoped_ptr<ArticleEntry> RemoveEntry(const std::string&) {
return scoped_ptr<ArticleEntry>(RemoveEntryImpl());
}
- virtual scoped_ptr<DistillerPage> CreateDefaultDistillerPage() {
+ virtual scoped_ptr<DistillerPage> CreateDefaultDistillerPage(
+ const gfx::Size& render_view_size) {
return scoped_ptr<DistillerPage>();
}
virtual scoped_ptr<DistillerPage> CreateDefaultDistillerPageWithHandle(
@@ -81,7 +82,7 @@ class DomDistillerViewerTest : public testing::Test {
const std::string& path,
ViewRequestDelegate* view_request_delegate) {
return viewer::CreateViewRequest(
- service_.get(), path, view_request_delegate);
+ service_.get(), path, view_request_delegate, gfx::Size());
}
scoped_ptr<TestDomDistillerService> service_;
« no previous file with comments | « components/dom_distiller/core/viewer.cc ('k') | components/dom_distiller/standalone/content_extractor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698