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

Unified Diff: Source/core/rendering/RenderFlexibleBox.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/RenderFlexibleBox.cpp
diff --git a/Source/core/rendering/RenderFlexibleBox.cpp b/Source/core/rendering/RenderFlexibleBox.cpp
index 7cab4eda8558c0e972e2a7fed1a86c3219f8fbe8..110e1ce4d6e7fa7806c525b2a6fdd37699e1d15d 100644
--- a/Source/core/rendering/RenderFlexibleBox.cpp
+++ b/Source/core/rendering/RenderFlexibleBox.cpp
@@ -242,7 +242,7 @@ void RenderFlexibleBox::layoutBlock(bool relayoutChildren)
{
FastTextAutosizer::LayoutScope fastTextAutosizerLayoutScope(this);
- LayoutStateMaintainer statePusher(*this, locationOffset());
+ LayoutState state(*this, locationOffset());
m_numberOfInFlowChildrenOnFirstLine = -1;

Powered by Google App Engine
This is Rietveld 408576698