| 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 1ed3eeb894dd8a76ab158a3da476c905d7ac7fda..21af79c0f989e1e95795701eaae44eb0b0546588 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGStopElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGStopElement.cpp
|
| @@ -56,7 +56,7 @@ LayoutObject* SVGStopElement::createLayoutObject(const ComputedStyle&) {
|
| }
|
|
|
| bool SVGStopElement::layoutObjectIsNeeded(const ComputedStyle&) {
|
| - return true;
|
| + return isValid() && hasSVGParent();
|
| }
|
|
|
| Color SVGStopElement::stopColorIncludingOpacity() const {
|
|
|