Index: third_party/WebKit/Source/core/dom/Element.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp |
index 810755bd6138d2740859c6dfeebac5ffb123a164..60d57ef5cd122c08201946f8aee3a09450919612 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -1504,7 +1504,7 @@ void Element::removedFrom(ContainerNode* insertionPoint) |
document().setCSSTarget(nullptr); |
if (hasPendingResources()) |
- document().accessSVGExtensions().removeElementFromPendingResources(this); |
+ treeScope().accessSVGTreeScopedResources().removeElementFromPendingResources(this); |
if (getCustomElementState() == CustomElementState::Custom) |
CustomElement::enqueueDisconnectedCallback(this); |