| Index: sky/engine/core/rendering/RenderBlockFlow.cpp
|
| diff --git a/sky/engine/core/rendering/RenderBlockFlow.cpp b/sky/engine/core/rendering/RenderBlockFlow.cpp
|
| index ac028b2cfc1a12ca8174af710e641636f2b33291..834241c5c8beb17f6089a98a766209aa959d83fd 100644
|
| --- a/sky/engine/core/rendering/RenderBlockFlow.cpp
|
| +++ b/sky/engine/core/rendering/RenderBlockFlow.cpp
|
| @@ -83,9 +83,6 @@ void RenderBlockFlow::layoutBlock(bool relayoutChildren)
|
| // we overflow or not.
|
| updateScrollInfoAfterLayout();
|
|
|
| - if (m_paintInvalidationLogicalTop != m_paintInvalidationLogicalBottom)
|
| - setShouldInvalidateOverflowForPaint(true);
|
| -
|
| clearNeedsLayout();
|
| }
|
|
|
| @@ -102,10 +99,7 @@ inline void RenderBlockFlow::layoutBlockFlow(bool relayoutChildren, SubtreeLayou
|
| LayoutUnit previousHeight = logicalHeight();
|
| setLogicalHeight(beforeEdge);
|
|
|
| - m_paintInvalidationLogicalTop = 0;
|
| - m_paintInvalidationLogicalBottom = 0;
|
| -
|
| - layoutChildren(relayoutChildren, layoutScope, m_paintInvalidationLogicalTop, m_paintInvalidationLogicalBottom, beforeEdge, afterEdge);
|
| + layoutChildren(relayoutChildren, layoutScope, beforeEdge, afterEdge);
|
|
|
| LayoutUnit oldClientAfterEdge = clientLogicalBottom();
|
|
|
| @@ -146,7 +140,7 @@ void RenderBlockFlow::layoutBlockChild(RenderBox* child)
|
| setLogicalHeight(logicalHeight() + marginBefore + logicalHeightForChild(child) + marginAfterForChild(child));
|
| }
|
|
|
| -void RenderBlockFlow::layoutChildren(bool relayoutChildren, SubtreeLayoutScope& layoutScope, LayoutUnit& paintInvalidationLogicalTop, LayoutUnit& paintInvalidationLogicalBottom, LayoutUnit beforeEdge, LayoutUnit afterEdge)
|
| +void RenderBlockFlow::layoutChildren(bool relayoutChildren, SubtreeLayoutScope& layoutScope, LayoutUnit beforeEdge, LayoutUnit afterEdge)
|
| {
|
| dirtyForLayoutFromPercentageHeightDescendants(layoutScope);
|
|
|
|
|