Index: Source/core/rendering/RenderFlexibleBox.cpp |
diff --git a/Source/core/rendering/RenderFlexibleBox.cpp b/Source/core/rendering/RenderFlexibleBox.cpp |
index 62dfee372307b28119fa28e0ee64d50dc7fef3a5..4b8951a5b1991e3725d20e3f796234ed979d92ee 100644 |
--- a/Source/core/rendering/RenderFlexibleBox.cpp |
+++ b/Source/core/rendering/RenderFlexibleBox.cpp |
@@ -31,6 +31,7 @@ |
#include "config.h" |
#include "core/rendering/RenderFlexibleBox.h" |
+#include "core/rendering/FastTextAutosizer.h" |
#include "core/rendering/LayoutRepainter.h" |
#include "core/rendering/RenderLayer.h" |
#include "core/rendering/RenderView.h" |
@@ -240,6 +241,7 @@ void RenderFlexibleBox::layoutBlock(bool relayoutChildren) |
setLogicalHeight(borderAndPaddingLogicalHeight() + scrollbarLogicalHeight()); |
{ |
+ FastTextAutosizer::LayoutScope fastTextAutosizerLayoutScope(this); |
pdr.
2014/06/11 03:57:05
If we moved these outside this scope, could we ass
skobes
2014/06/11 21:36:21
Maybe, but I'm not sure why that's useful?
|
LayoutStateMaintainer statePusher(*this, locationOffset()); |
m_numberOfInFlowChildrenOnFirstLine = -1; |