| Index: Source/core/svg/SVGElement.cpp
|
| diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
|
| index dfd66ff39efdcaa3bb54e3eb562e64d474f1f3c9..2af29e6bcc1e67c4531e637c5443b3fddd3f7709 100644
|
| --- a/Source/core/svg/SVGElement.cpp
|
| +++ b/Source/core/svg/SVGElement.cpp
|
| @@ -560,7 +560,7 @@ SVGElement* SVGElement::correspondingElement()
|
| SVGUseElement* SVGElement::correspondingUseElement() const
|
| {
|
| if (ShadowRoot* root = containingShadowRoot()) {
|
| - if (isSVGUseElement(root->host()) && (root->type() == ShadowRoot::UserAgentShadowRoot))
|
| + if (isSVGUseElement(root->host()) && (root->type() == ShadowRoot::ClosedShadowRoot))
|
| return toSVGUseElement(root->host());
|
| }
|
| return 0;
|
|
|