| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.cpp
|
| index b36153698b96fbfde3fcff2541428f74de08e66e..d8899c7cf724ca4fc62a69dfbba81c453a2b18d6 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.cpp
|
| @@ -145,17 +145,9 @@ void LayoutSVGInline::removeChild(LayoutObject* child)
|
|
|
| void LayoutSVGInline::invalidateTreeIfNeeded(const PaintInvalidationState& paintInvalidationState)
|
| {
|
| - ASSERT(!needsLayout());
|
| -
|
| - if (!shouldCheckForPaintInvalidation(paintInvalidationState))
|
| - return;
|
| -
|
| - PaintInvalidationState newPaintInvalidationState(paintInvalidationState, *this);
|
| - PaintInvalidationReason reason = invalidatePaintIfNeeded(newPaintInvalidationState);
|
| - clearPaintInvalidationFlags(newPaintInvalidationState);
|
| -
|
| - newPaintInvalidationState.updateForChildren(reason);
|
| - invalidatePaintOfSubtreesIfNeeded(newPaintInvalidationState);
|
| + // TODO(wangxianzhu): Verify if the inherited LayoutBoxModelObject::invalidateTreeIfNeeded()
|
| + // is applicable here. If yes, remove this overriding method.
|
| + LayoutObject::invalidateTreeIfNeeded(paintInvalidationState);
|
| }
|
|
|
| } // namespace blink
|
|
|