Index: third_party/WebKit/Source/core/svg/SVGMPathElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGMPathElement.cpp b/third_party/WebKit/Source/core/svg/SVGMPathElement.cpp |
index e570f343fb42957082a33c714f0a03b24600ad9b..465b53eeb231bfabfa27698e3046c52aa368d382 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGMPathElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGMPathElement.cpp |
@@ -55,11 +55,11 @@ void SVGMPathElement::buildPendingResource() |
Element* target = SVGURIReference::targetElementFromIRIString(hrefString(), treeScope(), &id); |
if (!target) { |
// Do not register as pending if we are already pending this resource. |
- if (document().accessSVGExtensions().isElementPendingResource(this, id)) |
+ if (treeScope().accessSVGTreeScopedResources().isElementPendingResource(this, id)) |
return; |
if (!id.isEmpty()) { |
- document().accessSVGExtensions().addPendingResource(id, this); |
+ treeScope().accessSVGTreeScopedResources().addPendingResource(id, this); |
ASSERT(hasPendingResources()); |
} |
} else if (isSVGPathElement(target)) { |