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

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

Issue 719813002: Ensure scrolling causes updateWidgetPositions even on nested frames. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update TestExpectations Created 6 years, 1 month 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 | « LayoutTests/platform/linux/compositing/overflow/update-widget-positions-on-nested-frames-and-scrollers-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index 8a77e1c54aaa736455d5ab871b9195bd530617c6..188618cdc1c779852a5b044e7e23fe886d8bbbdb 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -2538,8 +2538,6 @@ void FrameView::updateLayoutAndStyleForPainting()
updateLayoutAndStyleIfNeededRecursive();
- updateWidgetPositionsIfNeeded();
-
RenderView* view = renderView();
if (view) {
TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "UpdateLayerTree", "frame", m_frame.get());
@@ -2611,6 +2609,7 @@ void FrameView::updateLayoutAndStyleIfNeededRecursive()
m_frame->document()->renderView()->assertRendererLaidOut();
#endif
+ updateWidgetPositionsIfNeeded();
}
void FrameView::invalidateTreeIfNeededRecursive()
« no previous file with comments | « LayoutTests/platform/linux/compositing/overflow/update-widget-positions-on-nested-frames-and-scrollers-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698