summaryrefslogtreecommitdiffstats
path: root/dom/xul/XULMenuBarElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xul/XULMenuBarElement.cpp')
-rw-r--r--dom/xul/XULMenuBarElement.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/xul/XULMenuBarElement.cpp b/dom/xul/XULMenuBarElement.cpp
index f32698b3cd..1ec36d3859 100644
--- a/dom/xul/XULMenuBarElement.cpp
+++ b/dom/xul/XULMenuBarElement.cpp
@@ -85,7 +85,7 @@ nsresult XULMenuBarElement::BindToTree(BindContext& aContext,
return NS_OK;
}
-void XULMenuBarElement::UnbindFromTree(bool aNullParent) {
+void XULMenuBarElement::UnbindFromTree(UnbindContext& aContext) {
if (mListener) {
mListener->Detach();
mListener = nullptr;
@@ -97,7 +97,7 @@ void XULMenuBarElement::UnbindFromTree(bool aNullParent) {
pm->SetActiveMenuBar(this, false);
}
}
- return XULMenuParentElement::UnbindFromTree(aNullParent);
+ return XULMenuParentElement::UnbindFromTree(aContext);
}
} // namespace mozilla::dom