summaryrefslogtreecommitdiffstats
path: root/dom/svg/SVGImageElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/svg/SVGImageElement.cpp')
-rw-r--r--dom/svg/SVGImageElement.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/svg/SVGImageElement.cpp b/dom/svg/SVGImageElement.cpp
index 014303c912..264c03da09 100644
--- a/dom/svg/SVGImageElement.cpp
+++ b/dom/svg/SVGImageElement.cpp
@@ -260,9 +260,9 @@ nsresult SVGImageElement::BindToTree(BindContext& aContext, nsINode& aParent) {
return rv;
}
-void SVGImageElement::UnbindFromTree(bool aNullParent) {
- nsImageLoadingContent::UnbindFromTree(aNullParent);
- SVGImageElementBase::UnbindFromTree(aNullParent);
+void SVGImageElement::UnbindFromTree(UnbindContext& aContext) {
+ nsImageLoadingContent::UnbindFromTree();
+ SVGImageElementBase::UnbindFromTree(aContext);
}
void SVGImageElement::DestroyContent() {