Index: Source/core/layout/compositing/CompositingLayerAssigner.cpp |
diff --git a/Source/core/layout/compositing/CompositingLayerAssigner.cpp b/Source/core/layout/compositing/CompositingLayerAssigner.cpp |
index ebbe2e4d60c3b8a5107543d89478c8395bf45a1b..401a907a1a036010f072591c0ab841bfe2a4802b 100644 |
--- a/Source/core/layout/compositing/CompositingLayerAssigner.cpp |
+++ b/Source/core/layout/compositing/CompositingLayerAssigner.cpp |
@@ -210,7 +210,7 @@ void CompositingLayerAssigner::updateSquashingAssignment(DeprecatedPaintLayer* l |
// Before removing |layer| from an already-existing squashing layer that may have other content, issue a paint invalidation. |
m_compositor->paintInvalidationOnCompositingChange(layer); |
layer->groupedMapping()->setNeedsGraphicsLayerUpdate(GraphicsLayerUpdateSubtree); |
- layer->setGroupedMapping(nullptr); |
+ layer->setGroupedMapping(nullptr, DeprecatedPaintLayer::InvalidateLayerAndRemoveFromMapping); |
} |
// If we need to issue paint invalidations, do so now that we've removed it from a squashed layer. |