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

Unified Diff: third_party/WebKit/Source/core/layout/TextAutosizer.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/layout/TextAutosizer.cpp
diff --git a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
index 2c31ac1701fc1fb3cb84974f6bf446dc7f686a08..692930e0abeae5e7cad103ea19a4b2fb68bce2f2 100644
--- a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
+++ b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
@@ -695,7 +695,7 @@ void TextAutosizer::updatePageInfo() {
IntSize TextAutosizer::windowSize() const {
Page* page = m_document->page();
ASSERT(page);
- return page->frameHost().visualViewport().size();
+ return page->visualViewport().size();
}
void TextAutosizer::resetMultipliers() {

Powered by Google App Engine
This is Rietveld 408576698