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

Unified Diff: third_party/WebKit/Source/core/html/HTMLInputElementTest.cpp

Issue 2730573003: Moved FrameHost::m_visualViewport to Page (Closed)
Patch Set: Fixed some compile errors on mac and android Created 3 years, 9 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/html/HTMLInputElementTest.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElementTest.cpp b/third_party/WebKit/Source/core/html/HTMLInputElementTest.cpp
index d6c7f288b5f0b2b0d9caf8ccbb3aba3aac66ff9f..e6e8ffdb9a19fa9c3c05441d37403da56be4aeb1 100644
--- a/third_party/WebKit/Source/core/html/HTMLInputElementTest.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLInputElementTest.cpp
@@ -149,7 +149,7 @@ TEST_F(HTMLInputElementTest, ImageTypeCrash) {
}
TEST_F(HTMLInputElementTest, DateTimeChooserSizeParamRespectsScale) {
- document().view()->frame().host()->visualViewport().setScale(2.f);
+ document().view()->frame().page()->visualViewport().setScale(2.f);
document().body()->setInnerHTML(
"<input type='date' style='width:200px;height:50px' />");
document().view()->updateAllLifecyclePhases();
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrameTest.cpp ('k') | third_party/WebKit/Source/core/html/ImageDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698