| Index: Source/core/rendering/compositing/RenderLayerCompositor.cpp
|
| diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.cpp b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
|
| index 0d39968d532ac8a46fc5299e2f0ac6c0c2979914..bc0241a2111bcd24a4fada99a4a39f7adcb735cc 100644
|
| --- a/Source/core/rendering/compositing/RenderLayerCompositor.cpp
|
| +++ b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
|
| @@ -474,6 +474,11 @@ void RenderLayerCompositor::paintInvalidationOnCompositingChange(RenderLayer* la
|
| if (layer->renderer() != &m_renderView && !layer->renderer()->parent())
|
| return;
|
|
|
| + // For querying RenderLayer::compositingState()
|
| + // Eager invalidation here is correct, since we are invalidating with respect to the previous frame's
|
| + // compositing state when changing the compositing backing of the layer.
|
| + DisableCompositingQueryAsserts disabler;
|
| +
|
| layer->paintInvalidator().paintInvalidationIncludingNonCompositingDescendants();
|
| }
|
|
|
|
|