| Index: Source/core/rendering/RenderLayer.cpp
|
| diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp
|
| index 40929ef10c881f0eb92eec07e8ed59e727051ba5..114c092fecf4580fd83276933358b7eefbdb1ef8 100644
|
| --- a/Source/core/rendering/RenderLayer.cpp
|
| +++ b/Source/core/rendering/RenderLayer.cpp
|
| @@ -3739,6 +3739,19 @@ void RenderLayer::computeSelfHitTestRects(LayerHitTestRects& rects) const
|
| }
|
| }
|
|
|
| +void RenderLayer::setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants()
|
| +{
|
| + renderer()->setShouldDoFullPaintInvalidation(true);
|
| +
|
| + // Disable for reading compositingState() in isPaintInvalidationContainer() below.
|
| + DisableCompositingQueryAsserts disabler;
|
| +
|
| + for (RenderLayer* child = firstChild(); child; child = child->nextSibling()) {
|
| + if (!child->isPaintInvalidationContainer())
|
| + child->setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants();
|
| + }
|
| +}
|
| +
|
| DisableCompositingQueryAsserts::DisableCompositingQueryAsserts()
|
| : m_disabler(gCompositingQueryMode, CompositingQueriesAreAllowed) { }
|
|
|
|
|