| Index: Source/core/rendering/RenderLayer.cpp
|
| diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp
|
| index 922e1a0ac76c8457a90283c6a378e9e52580d84b..45f7dcc3f6a892bde6844a70e4a94cc40252291c 100644
|
| --- a/Source/core/rendering/RenderLayer.cpp
|
| +++ b/Source/core/rendering/RenderLayer.cpp
|
| @@ -499,6 +499,7 @@ void RenderLayer::updateLayerPositionsAfterScroll(RenderGeometryMap* geometryMap
|
| if ((flags & IsOverflowScroll) && (flags & HasSeenAncestorWithOverflowClip) && !m_canSkipRepaintRectsUpdateOnScroll) {
|
| // FIXME: We could track the repaint container as we walk down the tree.
|
| repainter().computeRepaintRects(renderer()->containerForRepaint());
|
| + renderer()->setMayNeedInvalidation(true);
|
| } else {
|
| // Check that RenderLayerRepainter's cached rects are correct.
|
| // FIXME: re-enable these assertions when the issue with table cells is resolved: https://bugs.webkit.org/show_bug.cgi?id=103432
|
| @@ -941,6 +942,8 @@ bool RenderLayer::updateLayerPosition()
|
| LayoutPoint localPoint;
|
| LayoutSize inlineBoundingBoxOffset; // We don't put this into the RenderLayer x/y for inlines, so we need to subtract it out when done.
|
|
|
| + renderer()->setMayNeedInvalidation(true);
|
| +
|
| if (renderer()->isInline() && renderer()->isRenderInline()) {
|
| RenderInline* inlineFlow = toRenderInline(renderer());
|
| IntRect lineBox = inlineFlow->linesBoundingBox();
|
|
|