summaryrefslogtreecommitdiff
path: root/dom/html/HTMLDetailsElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/HTMLDetailsElement.h')
-rw-r--r--dom/html/HTMLDetailsElement.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/html/HTMLDetailsElement.h b/dom/html/HTMLDetailsElement.h
index 4575ed888d..10e70784c6 100644
--- a/dom/html/HTMLDetailsElement.h
+++ b/dom/html/HTMLDetailsElement.h
@@ -23,6 +23,8 @@ class HTMLDetailsElement final : public nsGenericHTMLElement
public:
using NodeInfo = mozilla::dom::NodeInfo;
+ static bool IsDetailsEnabled();
+
explicit HTMLDetailsElement(already_AddRefed<NodeInfo>& aNodeInfo)
: nsGenericHTMLElement(aNodeInfo)
{