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

Unified Diff: Source/core/rendering/RenderGrid.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/RenderGrid.cpp
diff --git a/Source/core/rendering/RenderGrid.cpp b/Source/core/rendering/RenderGrid.cpp
index 83059ac6bcbe342ba9848fdeb3416ab3463c5ccd..26042bd4f67e4587f44e107d7823ed432a74d05d 100644
--- a/Source/core/rendering/RenderGrid.cpp
+++ b/Source/core/rendering/RenderGrid.cpp
@@ -298,7 +298,7 @@ void RenderGrid::layoutBlock(bool relayoutChildren)
// FIXME: Much of this method is boiler plate that matches RenderBox::layoutBlock and Render*FlexibleBox::layoutBlock.
// It would be nice to refactor some of the duplicate code.
LayoutRepainter repainter(*this, checkForPaintInvalidationDuringLayout());
- LayoutStateMaintainer statePusher(*this, locationOffset());
+ LayoutState statePusher(*this, locationOffset());
LayoutSize previousSize = size();

Powered by Google App Engine
This is Rietveld 408576698