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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutFullScreen.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/LayoutFullScreen.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp b/third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp
index db84d64e2b7384c965f1f6741a0b9cac4d016893..754f64aea70ad28b8ab5efa1d301e8525841e9a1 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp
@@ -114,7 +114,7 @@ void LayoutFullScreen::updateStyle(LayoutObject* parent) {
fullscreenStyle->setPosition(EPosition::kFixed);
fullscreenStyle->setLeft(Length(0, blink::Fixed));
fullscreenStyle->setTop(Length(0, blink::Fixed));
- IntSize viewportSize = document().page()->frameHost().visualViewport().size();
+ IntSize viewportSize = document().page()->visualViewport().size();
fullscreenStyle->setWidth(Length(viewportSize.width(), blink::Fixed));
fullscreenStyle->setHeight(Length(viewportSize.height(), blink::Fixed));
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutMedia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698