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

Unified Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.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/WebFrameWidgetImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
index 4477ed4c6197b6129c2ae4c7fd395bfc927ba4c4..631c93058927d6971bb07e402de4af512413f1e9 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
@@ -198,8 +198,8 @@ void WebFrameWidgetImpl::sendResizeEventAndRepaint() {
void WebFrameWidgetImpl::resizeVisualViewport(const WebSize& newSize) {
// TODO(alexmos, kenrb): resizing behavior such as this should be changed
// to use Page messages. https://crbug.com/599688.
- page()->frameHost().visualViewport().setSize(newSize);
- page()->frameHost().visualViewport().clampToBoundaries();
+ page()->visualViewport().setSize(newSize);
+ page()->visualViewport().clampToBoundaries();
view()->didUpdateFullscreenSize();
}
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetBase.cpp ('k') | third_party/WebKit/Source/web/WebInputEventConversion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698