summaryrefslogtreecommitdiffstats
path: root/dom/html/HTMLSharedElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/HTMLSharedElement.cpp')
-rw-r--r--dom/html/HTMLSharedElement.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/html/HTMLSharedElement.cpp b/dom/html/HTMLSharedElement.cpp
index b18f5e3339..85849f9f79 100644
--- a/dom/html/HTMLSharedElement.cpp
+++ b/dom/html/HTMLSharedElement.cpp
@@ -181,10 +181,10 @@ nsresult HTMLSharedElement::BindToTree(BindContext& aContext,
return NS_OK;
}
-void HTMLSharedElement::UnbindFromTree(bool aNullParent) {
+void HTMLSharedElement::UnbindFromTree(UnbindContext& aContext) {
Document* doc = GetUncomposedDoc();
- nsGenericHTMLElement::UnbindFromTree(aNullParent);
+ nsGenericHTMLElement::UnbindFromTree(aContext);
// If we're removing a <base> from a document, we may need to update the
// document's base URI and base target