mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1249915 - Fix missing MOZ_COUNT_CTOR and some misc cleanup. r=karlt
MozReview-Commit-ID: 3nB4awYSXCk
This commit is contained in:
parent
e178f092f5
commit
aab06fcb70
@ -83,7 +83,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* mozilla::WidgetTouchEvent
|
* mozilla::WidgetSimpleGestureEvent
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
class WidgetSimpleGestureEvent : public WidgetMouseEventBase
|
class WidgetSimpleGestureEvent : public WidgetMouseEventBase
|
||||||
@ -163,19 +163,20 @@ public:
|
|||||||
|
|
||||||
WidgetTouchEvent()
|
WidgetTouchEvent()
|
||||||
{
|
{
|
||||||
|
MOZ_COUNT_CTOR(WidgetTouchEvent);
|
||||||
}
|
}
|
||||||
|
|
||||||
WidgetTouchEvent(const WidgetTouchEvent& aOther)
|
WidgetTouchEvent(const WidgetTouchEvent& aOther)
|
||||||
: WidgetInputEvent(aOther.mFlags.mIsTrusted, aOther.mMessage, aOther.widget,
|
: WidgetInputEvent(aOther.mFlags.mIsTrusted, aOther.mMessage, aOther.widget,
|
||||||
eTouchEventClass)
|
eTouchEventClass)
|
||||||
{
|
{
|
||||||
|
MOZ_COUNT_CTOR(WidgetTouchEvent);
|
||||||
modifiers = aOther.modifiers;
|
modifiers = aOther.modifiers;
|
||||||
time = aOther.time;
|
time = aOther.time;
|
||||||
timeStamp = aOther.timeStamp;
|
timeStamp = aOther.timeStamp;
|
||||||
touches.AppendElements(aOther.touches);
|
touches.AppendElements(aOther.touches);
|
||||||
mFlags.mCancelable = mMessage != eTouchCancel;
|
mFlags.mCancelable = mMessage != eTouchCancel;
|
||||||
mFlags.mHandledByAPZ = aOther.mFlags.mHandledByAPZ;
|
mFlags.mHandledByAPZ = aOther.mFlags.mHandledByAPZ;
|
||||||
MOZ_COUNT_CTOR(WidgetTouchEvent);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
WidgetTouchEvent(bool aIsTrusted, EventMessage aMessage, nsIWidget* aWidget)
|
WidgetTouchEvent(bool aIsTrusted, EventMessage aMessage, nsIWidget* aWidget)
|
||||||
|
Loading…
Reference in New Issue
Block a user