summaryrefslogtreecommitdiffstats
path: root/dom/html/HTMLDialogElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/HTMLDialogElement.cpp')
-rw-r--r--dom/html/HTMLDialogElement.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/html/HTMLDialogElement.cpp b/dom/html/HTMLDialogElement.cpp
index 6d4bda0392..cd36201182 100644
--- a/dom/html/HTMLDialogElement.cpp
+++ b/dom/html/HTMLDialogElement.cpp
@@ -106,9 +106,9 @@ void HTMLDialogElement::StorePreviouslyFocusedElement() {
}
}
-void HTMLDialogElement::UnbindFromTree(bool aNullParent) {
+void HTMLDialogElement::UnbindFromTree(UnbindContext& aContext) {
RemoveFromTopLayerIfNeeded();
- nsGenericHTMLElement::UnbindFromTree(aNullParent);
+ nsGenericHTMLElement::UnbindFromTree(aContext);
}
void HTMLDialogElement::ShowModal(ErrorResult& aError) {