| Index: Source/core/rendering/RenderLayerModelObject.cpp
|
| diff --git a/Source/core/rendering/RenderLayerModelObject.cpp b/Source/core/rendering/RenderLayerModelObject.cpp
|
| index 2a6aa4a2714fc5ec26bca069a5df0e78585524e1..3e63935ffa1048de6f4fbf5a9ae84a4ab5c55414 100644
|
| --- a/Source/core/rendering/RenderLayerModelObject.cpp
|
| +++ b/Source/core/rendering/RenderLayerModelObject.cpp
|
| @@ -192,7 +192,7 @@ void RenderLayerModelObject::invalidateTreeIfNeeded(const PaintInvalidationState
|
| invalidatePaintOfSubtreesIfNeeded(childTreeWalkState);
|
| }
|
|
|
| -void RenderLayerModelObject::setBackingNeedsPaintInvalidationInRect(const LayoutRect& r, PaintInvalidationReason invalidationReason, const RenderObject& forRenderer) const
|
| +void RenderLayerModelObject::setBackingNeedsPaintInvalidationInRect(const LayoutRect& r, PaintInvalidationReason invalidationReason) const
|
| {
|
| // https://bugs.webkit.org/show_bug.cgi?id=61159 describes an unreproducible crash here,
|
| // so assert but check that the layer is composited.
|
| @@ -205,8 +205,6 @@ void RenderLayerModelObject::setBackingNeedsPaintInvalidationInRect(const Layout
|
| // Note: the subpixel accumulation of layer() does not need to be added here. It is already taken into account.
|
| squashingLayer->setNeedsDisplayInRect(pixelSnappedIntRect(paintInvalidationRect), invalidationReason);
|
| }
|
| - } else if (this != forRenderer && isBox() && toRenderBox(this)->usesCompositedScrolling()) {
|
| - layer()->compositedLayerMapping()->setScrollingContentsNeedDisplayInRect(r, invalidationReason);
|
| } else {
|
| layer()->compositedLayerMapping()->setContentsNeedDisplayInRect(r, invalidationReason);
|
| }
|
|
|