summaryrefslogtreecommitdiffstats
path: root/dom/svg/SVGAElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/svg/SVGAElement.cpp')
-rw-r--r--dom/svg/SVGAElement.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/svg/SVGAElement.cpp b/dom/svg/SVGAElement.cpp
index 8df685e674..d27e8735ad 100644
--- a/dom/svg/SVGAElement.cpp
+++ b/dom/svg/SVGAElement.cpp
@@ -149,8 +149,8 @@ nsresult SVGAElement::BindToTree(BindContext& aContext, nsINode& aParent) {
return NS_OK;
}
-void SVGAElement::UnbindFromTree(bool aNullParent) {
- SVGAElementBase::UnbindFromTree(aNullParent);
+void SVGAElement::UnbindFromTree(UnbindContext& aContext) {
+ SVGAElementBase::UnbindFromTree(aContext);
// Without removing the link state we risk a dangling pointer
// in the mStyledLinks hashtable
Link::UnbindFromTree();