| Index: Source/core/rendering/RenderBlockFlow.cpp
|
| diff --git a/Source/core/rendering/RenderBlockFlow.cpp b/Source/core/rendering/RenderBlockFlow.cpp
|
| index 984ec4be8c5e80e9c95776ae979b352f4f6947fc..430a8200283e75598e122033878e04262d2bbd93 100644
|
| --- a/Source/core/rendering/RenderBlockFlow.cpp
|
| +++ b/Source/core/rendering/RenderBlockFlow.cpp
|
| @@ -32,6 +32,7 @@
|
| #include "core/rendering/RenderBlockFlow.h"
|
|
|
| #include "core/frame/FrameView.h"
|
| +#include "core/rendering/FastTextAutosizer.h"
|
| #include "core/rendering/HitTestLocation.h"
|
| #include "core/rendering/LayoutRectRecorder.h"
|
| #include "core/rendering/LayoutRepainter.h"
|
| @@ -296,6 +297,10 @@ void RenderBlockFlow::layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalH
|
|
|
| SubtreeLayoutScope layoutScope(this);
|
|
|
| + FastTextAutosizer* textAutosizer = document().fastTextAutosizer();
|
| + if (textAutosizer)
|
| + textAutosizer->beginLayout(this);
|
| +
|
| m_repaintLogicalTop = 0;
|
| m_repaintLogicalBottom = 0;
|
| LayoutUnit maxFloatLogicalBottom = 0;
|
| @@ -306,6 +311,9 @@ void RenderBlockFlow::layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalH
|
| else
|
| layoutBlockChildren(relayoutChildren, maxFloatLogicalBottom, layoutScope);
|
|
|
| + if (textAutosizer)
|
| + textAutosizer->endLayout(this);
|
| +
|
| if (frameView()->partialLayout().isStopping()) {
|
| statePusher.pop();
|
| return;
|
|
|