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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2854863002: Don't update viewport size from UpdateAfterLayout. (Closed)
Patch Set: Fix ResizeFrameView invocation Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 7e866d1a03178c89f6d3dae2a3ecc70a4b844ff4..0b21fdbbc8c89e24eed99347e8cae9a2c2f50845 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -3691,7 +3691,7 @@ void WebViewImpl::ResizeAfterLayout(WebLocalFrameImpl* webframe) {
if (GetPageScaleConstraintsSet().ConstraintsDirty())
RefreshPageScaleFactorAfterLayout();
- UpdateICBAndResizeViewport();
+ ResizeFrameView(webframe);
}
void WebViewImpl::LayoutUpdated(WebLocalFrameImpl* webframe) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698