| Index: third_party/WebKit/Source/core/svg/SVGPathElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
|
| index 88a13ac0bcec7f485cadd66024accc97260060a9..75e4bede47f5f9a0d955499175a3cbfb89b791b2 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
|
| @@ -146,7 +146,7 @@ void SVGPathElement::svgAttributeChanged(const QualifiedName& attrName)
|
| layoutPath->setNeedsShapeUpdate();
|
|
|
| invalidateMPathDependencies();
|
| - if (layoutObject())
|
| + if (hasLayoutObject())
|
| markForLayoutAndParentResourceInvalidation(layoutObject());
|
|
|
| return;
|
| @@ -154,7 +154,7 @@ void SVGPathElement::svgAttributeChanged(const QualifiedName& attrName)
|
|
|
| if (attrName == SVGNames::pathLengthAttr) {
|
| SVGElement::InvalidationGuard invalidationGuard(this);
|
| - if (layoutObject())
|
| + if (hasLayoutObject())
|
| markForLayoutAndParentResourceInvalidation(layoutObject());
|
| return;
|
| }
|
|
|