| 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 b8cd48041a4b84638eb0383a5957905201b5c8bb..452f24e069c1ef0422edca218d0dc3559ba10685 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| @@ -88,7 +88,7 @@ void SVGElement::AttachLayoutTree(const AttachContext& context) {
|
|
|
| TreeScope& SVGElement::TreeScopeForIdResolution() const {
|
| const SVGElement* tree_scope_element = this;
|
| - if (const SVGElement* element = CorrespondingElement())
|
| + if (const SVGElement* element = CorrespondingUseElement())
|
| tree_scope_element = element;
|
| return tree_scope_element->GetTreeScope();
|
| }
|
|
|