| Index: third_party/WebKit/Source/core/svg/SVGUseElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
|
| index 69220493620545e6d1792acc6d2556069fb90959..68d1e6502b6c8e0e8b5ee2d437018f246db9d4c0 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
|
| @@ -501,13 +501,6 @@ SVGGraphicsElement* SVGUseElement::visibleTargetGraphicsElementForClipping()
|
| if (!element.isSVGGraphicsElement())
|
| return nullptr;
|
|
|
| - if (!element.layoutObject())
|
| - return nullptr;
|
| -
|
| - const ComputedStyle* style = element.layoutObject()->style();
|
| - if (!style || style->visibility() != EVisibility::Visible)
|
| - return nullptr;
|
| -
|
| // Spec: "If a <use> element is a child of a clipPath element, it must
|
| // directly reference <path>, <text> or basic shapes elements. Indirect
|
| // references are an error and the clipPath element must be ignored."
|
|
|