summaryrefslogtreecommitdiffstats
path: root/dom/html/HTMLOptionElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/HTMLOptionElement.cpp')
-rw-r--r--dom/html/HTMLOptionElement.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/html/HTMLOptionElement.cpp b/dom/html/HTMLOptionElement.cpp
index 733e15c609..5a9762de89 100644
--- a/dom/html/HTMLOptionElement.cpp
+++ b/dom/html/HTMLOptionElement.cpp
@@ -247,8 +247,8 @@ nsresult HTMLOptionElement::BindToTree(BindContext& aContext,
return NS_OK;
}
-void HTMLOptionElement::UnbindFromTree(bool aNullParent) {
- nsGenericHTMLElement::UnbindFromTree(aNullParent);
+void HTMLOptionElement::UnbindFromTree(UnbindContext& aContext) {
+ nsGenericHTMLElement::UnbindFromTree(aContext);
// Our previous parent could have been involved in :disabled/:enabled state.
UpdateDisabledState(false);