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

Unified Diff: Source/core/rendering/RenderLayerRepainter.cpp

Issue 335963002: Change LayoutState to be stack-allocated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix push function to match old behavior... 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/rendering/RenderLayerRepainter.cpp
diff --git a/Source/core/rendering/RenderLayerRepainter.cpp b/Source/core/rendering/RenderLayerRepainter.cpp
index bfc174b2036bf34ed7f5e080801dd3915a2d1db9..e1ef2e870e0aaed992cc3bb22da80417211023a3 100644
--- a/Source/core/rendering/RenderLayerRepainter.cpp
+++ b/Source/core/rendering/RenderLayerRepainter.cpp
@@ -71,7 +71,7 @@ void RenderLayerRepainter::repaintAfterLayout(bool shouldCheckForRepaint)
// FIXME: LayoutState does not work with RenderLayers as there is not a 1-to-1
// mapping between them and the RenderObjects. It would be neat to enable
// LayoutState outside the layout() phase and use it here.
- ASSERT(!view->layoutStateEnabled());
+ ASSERT(!view->layoutStateCachedOffsetsEnabled());
const RenderLayerModelObject* repaintContainer = m_renderer.containerForPaintInvalidation();
LayoutRect oldRepaintRect = m_repaintRect;

Powered by Google App Engine
This is Rietveld 408576698