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

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

Issue 2314593003: IFrame Scrollbar needs reconstruction. (Closed)
Patch Set: done Created 4 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
« no previous file with comments | « third_party/WebKit/LayoutTests/scrollbars/resources/reconstruction-iframe-src.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 3b1b7cc80d33f2edf14595b69711e9ab47901362..c941412ac02a8a7a89a76000ec255dec0cae99bf 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -2765,6 +2765,8 @@ void FrameView::updateStyleAndLayoutIfNeededRecursiveInternal()
m_frame->document()->updateStyleAndLayoutTree();
+ updateScrollbarsIfNeeded();
skobes 2016/09/06 17:39:19 FrameView::layout calls updateScrollbarsIfNeeded.
MuVen 2016/09/07 14:50:17 as this is a recursively calls for all the framevi
skobes 2016/09/07 19:04:38 But layout is also recursive. Scrollbars changing
+
CHECK(!shouldThrottleRendering());
CHECK(m_frame->document()->isActive());
CHECK(!m_nestedLayoutCount);
« no previous file with comments | « third_party/WebKit/LayoutTests/scrollbars/resources/reconstruction-iframe-src.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698