| Index: third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
|
| index 1f85592c1822a16924f7609ad33c997bd092c3ec..edc04ae0daef736c314722248dbef901642aa65f 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
|
| @@ -288,8 +288,8 @@ void SVGSVGElement::svgAttributeChanged(const QualifiedName& attrName) {
|
| if (updateRelativeLengthsOrViewBox ||
|
| SVGZoomAndPan::isKnownAttribute(attrName)) {
|
| SVGElement::InvalidationGuard invalidationGuard(this);
|
| - if (layoutObject())
|
| - markForLayoutAndParentResourceInvalidation(layoutObject());
|
| + if (auto* layoutObject = this->layoutObject())
|
| + markForLayoutAndParentResourceInvalidation(layoutObject);
|
| return;
|
| }
|
|
|
|
|