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

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 assert 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 108488b711cda6327539b245882e30ff0b424ad0..b3044c29f6c1d13efa96f63b3b07bbf8bed27089 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