summaryrefslogtreecommitdiffstats
path: root/widget
diff options
context:
space:
mode:
Diffstat (limited to 'widget')
-rw-r--r--widget/BasicEvents.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/widget/BasicEvents.h b/widget/BasicEvents.h
index 960cb67c6..4e9e0e6ce 100644
--- a/widget/BasicEvents.h
+++ b/widget/BasicEvents.h
@@ -25,6 +25,8 @@ struct ParamTraits;
namespace mozilla {
+class EventTargetChainItem;
+
/******************************************************************************
* mozilla::BaseEventFlags
*
@@ -350,6 +352,7 @@ protected:
, mRefPoint(0, 0)
, mLastRefPoint(0, 0)
, mSpecifiedEventType(nullptr)
+ , mPath(nullptr)
{
MOZ_COUNT_CTOR(WidgetEvent);
mFlags.Clear();
@@ -361,6 +364,7 @@ protected:
WidgetEvent()
: WidgetEventTime()
+ , mPath(nullptr)
{
MOZ_COUNT_CTOR(WidgetEvent);
}
@@ -419,6 +423,8 @@ public:
nsCOMPtr<dom::EventTarget> mCurrentTarget;
nsCOMPtr<dom::EventTarget> mOriginalTarget;
+ nsTArray<EventTargetChainItem>* mPath;
+
dom::EventTarget* GetDOMEventTarget() const;
dom::EventTarget* GetCurrentDOMEventTarget() const;
dom::EventTarget* GetOriginalDOMEventTarget() const;