| Index: Source/core/rendering/RenderObject.cpp
|
| diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp
|
| index 2247a2895300e018935e9d8d9ff1e1ec06eaf9c5..a9bc427ca54a23507f6ee263a60ce8a19ecaf3fe 100644
|
| --- a/Source/core/rendering/RenderObject.cpp
|
| +++ b/Source/core/rendering/RenderObject.cpp
|
| @@ -1398,6 +1398,22 @@ void RenderObject::repaintUsingContainer(const RenderLayerModelObject* repaintCo
|
| return;
|
| }
|
|
|
| + if (repaintContainer->compositingState() == PaintsIntoGroupedBacking) {
|
| + // FIXME: this if-statement may not catch the repaint invalidation that comes from a descendant that contributes to this squashed subtree.
|
| +
|
| + ASSERT(repaintContainer->groupedMapping());
|
| +
|
| + // Not clean, but if squashing layer does not yet exist here (e.g. repaint invalidation coming from within recomputing compositing requirements)
|
| + // then it's ok to just exit here, since the squashing layer will get repainted when it is newly created.
|
| + if (!repaintContainer->groupedMapping()->squashingLayer())
|
| + return;
|
| +
|
| + IntRect offsetRect(r);
|
| + offsetRect.move(-repaintContainer->layer()->offsetFromSquashingLayerOrigin());
|
| + repaintContainer->groupedMapping()->squashingLayer()->setNeedsDisplayInRect(offsetRect);
|
| + return;
|
| + }
|
| +
|
| if (repaintContainer->isRenderFlowThread()) {
|
| toRenderFlowThread(repaintContainer)->repaintRectangleInRegions(r);
|
| return;
|
|
|