| Index: Source/core/rendering/compositing/RenderLayerCompositor.cpp
|
| diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.cpp b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
|
| index 457f3d7efbe2bc3e9119280202cf672440a9140c..48ef8a6f01cfa7a237cfcdd4cd13a7c0492c719b 100644
|
| --- a/Source/core/rendering/compositing/RenderLayerCompositor.cpp
|
| +++ b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
|
| @@ -669,8 +669,12 @@ void RenderLayerCompositor::repaintCompositedLayers()
|
| void RenderLayerCompositor::recursiveRepaintLayer(RenderLayer* layer)
|
| {
|
| // FIXME: This method does not work correctly with transforms.
|
| - if (layer->compositingState() == PaintsIntoOwnBacking)
|
| - layer->repainter().setBackingNeedsRepaint();
|
| + if (layer->compositingState() == PaintsIntoOwnBacking) {
|
| + layer->compositedLayerMapping()->setContentsNeedDisplay();
|
| + // This function is called only when it is desired to repaint the entire compositing graphics layer tree.
|
| + // This includes squashing.
|
| + layer->compositedLayerMapping()->setSquashingContentsNeedDisplay();
|
| + }
|
|
|
| #if ASSERT_ENABLED
|
| LayerListMutationDetector mutationChecker(layer->stackingNode());
|
|
|