| Index: Source/core/rendering/RenderBlockFlow.cpp
|
| diff --git a/Source/core/rendering/RenderBlockFlow.cpp b/Source/core/rendering/RenderBlockFlow.cpp
|
| index 62270f05fd1a750c63c7e82889e73293a863493b..8007e4a74d45423fa198d7a53e0d260f221a62ee 100644
|
| --- a/Source/core/rendering/RenderBlockFlow.cpp
|
| +++ b/Source/core/rendering/RenderBlockFlow.cpp
|
| @@ -330,7 +330,7 @@ void RenderBlockFlow::layoutBlock(bool relayoutChildren)
|
| if (RuntimeEnabledFeatures::repaintAfterLayoutEnabled())
|
| setShouldInvalidateOverflowForPaint(true);
|
| else
|
| - repaintOverflow();
|
| + invalidateOverflowPaint();
|
| }
|
| clearNeedsLayout();
|
| }
|
| @@ -638,7 +638,7 @@ void RenderBlockFlow::layoutBlockChild(RenderBox* child, MarginInfo& marginInfo,
|
|
|
| if (!childHadLayout && child->checkForRepaint()) {
|
| if (!RuntimeEnabledFeatures::repaintAfterLayoutEnabled())
|
| - child->repaint();
|
| + child->invalidatePaint();
|
| child->repaintOverhangingFloats(true);
|
| }
|
|
|
| @@ -1953,14 +1953,14 @@ void RenderBlockFlow::repaintOverhangingFloats(bool paintAllDescendants)
|
| if (RuntimeEnabledFeatures::repaintAfterLayoutEnabled())
|
| floatingRenderer->setShouldDoFullPaintInvalidationAfterLayout(true);
|
| else
|
| - floatingRenderer->repaint();
|
| + floatingRenderer->invalidatePaint();
|
|
|
| floatingRenderer->repaintOverhangingFloats(false);
|
| }
|
| }
|
| }
|
|
|
| -void RenderBlockFlow::repaintOverflow()
|
| +void RenderBlockFlow::invalidateOverflowPaint()
|
| {
|
| // FIXME: We could tighten up the left and right invalidation points if we let layoutInlineChildren fill them in based off the particular lines
|
| // it had to lay out. We wouldn't need the hasOverflowClip() hack in that case either.
|
| @@ -1996,9 +1996,9 @@ void RenderBlockFlow::repaintOverflow()
|
| // Hits in media/event-attributes.html
|
| DisableCompositingQueryAsserts disabler;
|
|
|
| - repaintRectangle(repaintRect); // We need to do a partial repaint of our content.
|
| + invalidatePaintRectangle(repaintRect); // We need to do a partial repaint of our content.
|
| if (hasReflection())
|
| - repaintRectangle(reflectedRect(repaintRect));
|
| + invalidatePaintRectangle(reflectedRect(repaintRect));
|
| }
|
|
|
| m_repaintLogicalTop = 0;
|
|
|