| Index: Source/core/rendering/compositing/RenderLayerCompositor.cpp
|
| diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.cpp b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
|
| index 6ad394b5cb9d92f9f367977cd813cd205328e07f..ccbe29d356ccc0664a9420c079217f4c427b6745 100644
|
| --- a/Source/core/rendering/compositing/RenderLayerCompositor.cpp
|
| +++ b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
|
| @@ -680,8 +680,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();
|
| + }
|
|
|
| layer->stackingNode()->updateLayerListsIfNeeded();
|
|
|
|
|