summaryrefslogtreecommitdiffstats
path: root/dom/html/HTMLObjectElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/HTMLObjectElement.cpp')
-rw-r--r--dom/html/HTMLObjectElement.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/html/HTMLObjectElement.cpp b/dom/html/HTMLObjectElement.cpp
index f8e5d99963..f77a1f3ba2 100644
--- a/dom/html/HTMLObjectElement.cpp
+++ b/dom/html/HTMLObjectElement.cpp
@@ -89,9 +89,9 @@ nsresult HTMLObjectElement::BindToTree(BindContext& aContext,
return NS_OK;
}
-void HTMLObjectElement::UnbindFromTree(bool aNullParent) {
- nsObjectLoadingContent::UnbindFromTree(aNullParent);
- nsGenericHTMLFormControlElement::UnbindFromTree(aNullParent);
+void HTMLObjectElement::UnbindFromTree(UnbindContext& aContext) {
+ nsObjectLoadingContent::UnbindFromTree();
+ nsGenericHTMLFormControlElement::UnbindFromTree(aContext);
}
void HTMLObjectElement::AfterSetAttr(int32_t aNamespaceID, nsAtom* aName,