Index: Source/core/svg/animation/SVGSMILElement.cpp |
diff --git a/Source/core/svg/animation/SVGSMILElement.cpp b/Source/core/svg/animation/SVGSMILElement.cpp |
index 0d1b9b14871eb12270de5ddb1443c972808b5bed..20c1eb8a6add3859fd6edd8efbac792bce0bbc27 100644 |
--- a/Source/core/svg/animation/SVGSMILElement.cpp |
+++ b/Source/core/svg/animation/SVGSMILElement.cpp |
@@ -210,7 +210,7 @@ SVGSMILElement::~SVGSMILElement() |
void SVGSMILElement::clearResourceAndEventBaseReferences() |
{ |
- document().accessSVGExtensions().removeAllTargetReferencesForElement(this); |
+ removeAllOutgoingReferences(); |
} |
void SVGSMILElement::clearConditions() |
@@ -257,7 +257,7 @@ void SVGSMILElement::buildPendingResource() |
} else { |
// 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, svgTarget); |
+ addReferenceTo(svgTarget); |
} |
connectEventBaseConditions(); |
} |
@@ -640,7 +640,7 @@ void SVGSMILElement::connectEventBaseConditions() |
ASSERT(!condition->eventListener()); |
condition->setEventListener(ConditionEventListener::create(this, condition)); |
eventBase->addEventListener(AtomicString(condition->name()), condition->eventListener(), false); |
- document().accessSVGExtensions().addElementReferencingTarget(this, eventBase); |
+ addReferenceTo(eventBase); |
} |
} |
} |