summaryrefslogtreecommitdiffstats
path: root/dom/html/HTMLDialogElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/HTMLDialogElement.h')
-rw-r--r--dom/html/HTMLDialogElement.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/html/HTMLDialogElement.h b/dom/html/HTMLDialogElement.h
index 2222cd2f7..efa319f3c 100644
--- a/dom/html/HTMLDialogElement.h
+++ b/dom/html/HTMLDialogElement.h
@@ -26,6 +26,8 @@ public:
virtual nsresult Clone(mozilla::dom::NodeInfo* aNodeInfo, nsINode** aResult) const override;
+ static bool IsDialogEnabled();
+
bool Open() const { return GetBoolAttr(nsGkAtoms::open); }
void SetOpen(bool aOpen, ErrorResult& aError)
{