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