| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
|
| index d29975a1896751cc39bcf92397cb3894e155973f..20f85b72058b07df8205b8436e7aeb0437f1d06f 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
|
| @@ -130,21 +130,4 @@ IntRect LayoutSVGModelObject::absoluteElementBoundingBoxRect() const
|
| return localToAbsoluteQuad(FloatQuad(paintInvalidationRectInLocalSVGCoordinates())).enclosingBoundingBox();
|
| }
|
|
|
| -void LayoutSVGModelObject::invalidateTreeIfNeeded(const PaintInvalidationState& paintInvalidationState)
|
| -{
|
| - ASSERT(!needsLayout());
|
| -
|
| - // If we didn't need paint invalidation then our children don't need as well.
|
| - // Skip walking down the tree as everything should be fine below us.
|
| - if (!shouldCheckForPaintInvalidation(paintInvalidationState))
|
| - return;
|
| -
|
| - PaintInvalidationState newPaintInvalidationState(paintInvalidationState, *this);
|
| - PaintInvalidationReason reason = invalidatePaintIfNeeded(newPaintInvalidationState);
|
| - clearPaintInvalidationFlags(newPaintInvalidationState);
|
| -
|
| - newPaintInvalidationState.updateForChildren(reason);
|
| - invalidatePaintOfSubtreesIfNeeded(newPaintInvalidationState);
|
| -}
|
| -
|
| } // namespace blink
|
|
|