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

Unified Diff: Source/core/frame/FrameView.cpp

Issue 503583002: Fixed Inconsistent behaviour of custom-scrollbar (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding test case Created 6 years, 3 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: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index 0aead4777869975461aa32155082b51948005ade..adea646094ec033c0a3364a70632fcfb0ebb7e8e 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -920,6 +920,9 @@ void FrameView::layout(bool allowSubtree)
if (!inSubtreeLayout && !toRenderView(rootForThisLayout)->document().printing())
adjustViewSize();
+ if (rootForThisLayout->needsLayout())
+ performLayout(rootForThisLayout, inSubtreeLayout);
esprehn 2014/09/19 05:06:52 Other places call adjustViewSize without a second
MuVen 2014/09/19 16:19:30 During adjustViewSize call, in the API FrameView::
+
layer->updateLayerPositionsAfterLayout();
if (m_doFullPaintInvalidation)

Powered by Google App Engine
This is Rietveld 408576698