summaryrefslogtreecommitdiffstats
path: root/dom/events/Event.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/events/Event.h')
-rwxr-xr-xdom/events/Event.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/events/Event.h b/dom/events/Event.h
index c28226e8a..0817aa809 100755
--- a/dom/events/Event.h
+++ b/dom/events/Event.h
@@ -142,6 +142,10 @@ public:
LayoutDeviceIntPoint aPoint,
CSSIntPoint aDefaultPoint);
+ static already_AddRefed<Event> Constructor(EventTarget* aEventTarget,
+ const nsAString& aType,
+ const EventInit& aParam);
+
static already_AddRefed<Event> Constructor(const GlobalObject& aGlobal,
const nsAString& aType,
const EventInit& aParam,