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

Unified Diff: third_party/WebKit/Source/web/tests/TextFinderTest.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/web/tests/TextFinderTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/TextFinderTest.cpp b/third_party/WebKit/Source/web/tests/TextFinderTest.cpp
index 6f232173bf70b07a39db6de6d77b7f6425a27369..15087f0523ff45b51328fd164d6231bd518bd0a8 100644
--- a/third_party/WebKit/Source/web/tests/TextFinderTest.cpp
+++ b/third_party/WebKit/Source/web/tests/TextFinderTest.cpp
@@ -154,8 +154,7 @@ TEST_F(TextFinderTest, FindTextAutosizing) {
bool wrapWithinFrame = true;
// Set viewport scale to 20 in order to simulate zoom-in
- VisualViewport& visualViewport =
- document().page()->frameHost().visualViewport();
+ VisualViewport& visualViewport = document().page()->visualViewport();
visualViewport.setScale(20);
// Enforce autosizing

Powered by Google App Engine
This is Rietveld 408576698