| Index: Source/core/rendering/RenderLayerRepainter.cpp
|
| diff --git a/Source/core/rendering/RenderLayerRepainter.cpp b/Source/core/rendering/RenderLayerRepainter.cpp
|
| index d01609b21dfba942867c39c1a96e98790f4986d6..fd356c7ed7db1c3cc8072344c3ee2b7601f8b76a 100644
|
| --- a/Source/core/rendering/RenderLayerRepainter.cpp
|
| +++ b/Source/core/rendering/RenderLayerRepainter.cpp
|
| @@ -91,20 +91,6 @@ void RenderLayerRepainter::paintInvalidationIncludingNonCompositingDescendantsIn
|
| }
|
| }
|
|
|
| -LayoutRect RenderLayerRepainter::paintInvalidationRectIncludingNonCompositingDescendants() const
|
| -{
|
| - LayoutRect paintInvalidationRect = m_renderer.previousPaintInvalidationRect();
|
| -
|
| - for (RenderLayer* child = m_renderer.layer()->firstChild(); child; child = child->nextSibling()) {
|
| - // Don't include paint invalidation rects for composited child layers; they will paint themselves and have a different origin.
|
| - if (child->compositingState() == PaintsIntoOwnBacking || child->compositingState() == PaintsIntoGroupedBacking)
|
| - continue;
|
| -
|
| - paintInvalidationRect.unite(child->paintInvalidator().paintInvalidationRectIncludingNonCompositingDescendants());
|
| - }
|
| - return paintInvalidationRect;
|
| -}
|
| -
|
| void RenderLayerRepainter::setBackingNeedsPaintInvalidationInRect(const LayoutRect& r)
|
| {
|
| // https://bugs.webkit.org/show_bug.cgi?id=61159 describes an unreproducible crash here,
|
|
|