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

Unified Diff: third_party/WebKit/Source/core/testing/DummyPageHolder.cpp

Issue 2319863006: Change image document zooming logic. (Closed)
Patch Set: enforce Desktop mode Created 4 years, 3 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: third_party/WebKit/Source/core/testing/DummyPageHolder.cpp
diff --git a/third_party/WebKit/Source/core/testing/DummyPageHolder.cpp b/third_party/WebKit/Source/core/testing/DummyPageHolder.cpp
index eae84f96e13d4c83dd1ffd51ed2dfefdb4c23c25..092818685529ba26544d4b2fe41fd7cb622d5c76 100644
--- a/third_party/WebKit/Source/core/testing/DummyPageHolder.cpp
+++ b/third_party/WebKit/Source/core/testing/DummyPageHolder.cpp
@@ -78,7 +78,7 @@ DummyPageHolder::DummyPageHolder(
if (!m_frameLoaderClient)
m_frameLoaderClient = EmptyFrameLoaderClient::create();
- m_frame = LocalFrame::create(m_frameLoaderClient.get(), &m_page->frameHost(), 0);
+ m_frame = LocalFrame::create(m_frameLoaderClient.get(), &m_page->frameHost(), nullptr);
Nate Chapin 2016/09/16 21:48:24 While this is a reasonable change, it seems comple
Bret 2016/09/16 22:24:25 Oh yeah oops, I thought I changed more in DummyPag
m_frame->setView(FrameView::create(m_frame.get(), initialViewSize));
m_frame->view()->page()->frameHost().visualViewport().setSize(initialViewSize);
m_frame->init();

Powered by Google App Engine
This is Rietveld 408576698