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

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

Issue 360833002: Divorce PaintInvalidationState from LayoutState (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ToT-Ed again :) Created 6 years, 6 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 d3b7df87c8e0010f8ceae211e586db22bec0130d..4dfe057723804dbe71cd85a74676107961f55c34 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -1020,9 +1020,9 @@ void FrameView::invalidateTree(RenderObject* root)
// Until those states are fully fledged, I'll just disable the ASSERTS.
DisableCompositingQueryAsserts compositingQueryAssertsDisabler;
- LayoutState rootLayoutState(*root);
+ InvalidationTreeWalkState invalidationTreeWalkState(*root);
- root->invalidateTreeAfterLayout(*root->containerForPaintInvalidation());
+ root->invalidateTreeAfterLayout(invalidationTreeWalkState);
// Invalidate the paint of the frameviews scrollbars if needed
if (hasVerticalBarDamage())

Powered by Google App Engine
This is Rietveld 408576698