| Index: third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| index 313e7bbfbedcdd9065539b253ebdb11a8adfda88..821591b0f41d800f42c13f19a0c9bc70e0b4a03b 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| @@ -650,8 +650,7 @@ SVGElement* SVGElement::correspondingElement() const {
|
|
|
| SVGUseElement* SVGElement::correspondingUseElement() const {
|
| if (ShadowRoot* root = containingShadowRoot()) {
|
| - if (isSVGUseElement(root->host()) &&
|
| - (root->type() == ShadowRootType::UserAgent))
|
| + if (isSVGUseElement(root->host()))
|
| return &toSVGUseElement(root->host());
|
| }
|
| return nullptr;
|
|
|