Index: Source/core/svg/SVGTextPathElement.cpp |
diff --git a/Source/core/svg/SVGTextPathElement.cpp b/Source/core/svg/SVGTextPathElement.cpp |
index 8c42b33d570485456e7da5375ac6faadee618543..84a07af00d9926afe0e1d266f0745dce43b99e16 100644 |
--- a/Source/core/svg/SVGTextPathElement.cpp |
+++ b/Source/core/svg/SVGTextPathElement.cpp |
@@ -73,7 +73,7 @@ SVGTextPathElement::~SVGTextPathElement() |
void SVGTextPathElement::clearResourceReferences() |
{ |
- document().accessSVGExtensions().removeAllTargetReferencesForElement(this); |
+ removeAllOutgoingReferences(); |
} |
bool SVGTextPathElement::isSupportedAttribute(const QualifiedName& attrName) |
@@ -161,7 +161,7 @@ void SVGTextPathElement::buildPendingResource() |
} else if (isSVGPathElement(*target)) { |
// Register us with the target in the dependencies map. Any change of hrefElement |
// that leads to relayout/repainting now informs us, so we can react to it. |
- document().accessSVGExtensions().addElementReferencingTarget(this, toSVGElement((target))); |
+ addReferenceTo(toSVGElement((target))); |
} |
} |