Index: third_party/WebKit/Source/core/svg/SVGStopElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGStopElement.cpp b/third_party/WebKit/Source/core/svg/SVGStopElement.cpp |
index 3d16e4a819c753e0424ff2ba662525d851d2af20..c4ef7cd47f6f6a696e3b61465c172979e4bb0fcd 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGStopElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGStopElement.cpp |
@@ -44,7 +44,7 @@ void SVGStopElement::svgAttributeChanged(const QualifiedName& attrName) |
if (attrName == SVGNames::offsetAttr) { |
SVGElement::InvalidationGuard invalidationGuard(this); |
- if (layoutObject()) |
+ if (hasLayoutObject()) |
markForLayoutAndParentResourceInvalidation(layoutObject()); |
return; |
} |