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

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: 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/viewer_unittest.cc
diff --git a/components/dom_distiller/core/viewer_unittest.cc b/components/dom_distiller/core/viewer_unittest.cc
index 7c1b0752849aebde6b3869573a164f2c7be3936a..81e6c965e107ae83c27a27f9738af2cc8f841a99 100644
--- a/components/dom_distiller/core/viewer_unittest.cc
+++ b/components/dom_distiller/core/viewer_unittest.cc
@@ -59,7 +59,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(
@@ -79,7 +80,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_;

Powered by Google App Engine
This is Rietveld 408576698