| Index: Source/core/paint/DeprecatedPaintLayer.cpp
|
| diff --git a/Source/core/paint/DeprecatedPaintLayer.cpp b/Source/core/paint/DeprecatedPaintLayer.cpp
|
| index e3c7b739c76629aedd987d85ca6e5a47b674c5be..cdee1c9ce8e062961839cb4e65bf21dbb21c3358 100644
|
| --- a/Source/core/paint/DeprecatedPaintLayer.cpp
|
| +++ b/Source/core/paint/DeprecatedPaintLayer.cpp
|
| @@ -1219,7 +1219,7 @@ void DeprecatedPaintLayer::removeOnlyThisLayer()
|
| // Our children will be reparented and contained by a new paint invalidation container,
|
| // so need paint invalidation. CompositingUpdate can't see this layer (which has been
|
| // removed) so won't do this for us.
|
| - setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants();
|
| + layoutObject()->setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants();
|
| }
|
| }
|
|
|
| @@ -2741,19 +2741,6 @@ void DeprecatedPaintLayer::computeSelfHitTestRects(LayerHitTestRects& rects) con
|
| }
|
| }
|
|
|
| -void DeprecatedPaintLayer::setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants()
|
| -{
|
| - layoutObject()->setShouldDoFullPaintInvalidation();
|
| -
|
| - // Disable for reading compositingState() in isPaintInvalidationContainer() below.
|
| - DisableCompositingQueryAsserts disabler;
|
| -
|
| - for (DeprecatedPaintLayer* child = firstChild(); child; child = child->nextSibling()) {
|
| - if (!child->isPaintInvalidationContainer())
|
| - child->setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants();
|
| - }
|
| -}
|
| -
|
| DisableCompositingQueryAsserts::DisableCompositingQueryAsserts()
|
| : m_disabler(gCompositingQueryMode, CompositingQueriesAreAllowed) { }
|
|
|
|
|