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

Unified Diff: Source/core/page/Page.cpp

Issue 911083002: Carry out a resize even if no layout has been performed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added comment to unit test Created 5 years, 10 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 | « Source/core/frame/SettingsDelegate.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Page.cpp
diff --git a/Source/core/page/Page.cpp b/Source/core/page/Page.cpp
index a58f0006b43da66b0e9ffbc32c7e1b1a37a62ca4..7101f0ca271b2725a1aec5e02efcd7907905ac16 100644
--- a/Source/core/page/Page.cpp
+++ b/Source/core/page/Page.cpp
@@ -459,6 +459,10 @@ void Page::settingsChanged(SettingsDelegate::ChangeType changeType)
case SettingsDelegate::StyleChange:
setNeedsRecalcStyleInAllFrames();
break;
+ case SettingsDelegate::ForceZeroLayoutHeightChange:
gsennton 2015/02/13 19:41:07 A new changeType was added here since we would lik
+ if (mainFrame() && mainFrame()->isLocalFrame())
+ deprecatedLocalMainFrame()->view()->didChangeForceLayoutHeightMode();
+ break;
case SettingsDelegate::ViewportDescriptionChange:
if (mainFrame() && mainFrame()->isLocalFrame())
deprecatedLocalMainFrame()->document()->updateViewportDescription();
« no previous file with comments | « Source/core/frame/SettingsDelegate.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698