зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1453795 - DOM/Events - Initialize member fields in classes/ structures. r=smaug
--HG-- extra : amend_source : 7dfd8ea1ca8d590f7ddfbb2afe4c22d2a2c4a894
This commit is contained in:
Родитель
4823f9f71f
Коммит
fbf3607603
|
@ -234,6 +234,8 @@ EventStateManager::EventStateManager()
|
|||
, mCurrentTarget(nullptr)
|
||||
// init d&d gesture state machine variables
|
||||
, mGestureDownPoint(0,0)
|
||||
, mGestureModifiers(0)
|
||||
, mGestureDownButtons(0)
|
||||
, mPresContext(nullptr)
|
||||
, mLClickCount(0)
|
||||
, mMClickCount(0)
|
||||
|
|
|
@ -198,6 +198,7 @@ NS_IMPL_CYCLE_COLLECTING_RELEASE(IMEContentObserver)
|
|||
IMEContentObserver::IMEContentObserver()
|
||||
: mESM(nullptr)
|
||||
, mIMENotificationRequests(nullptr)
|
||||
, mPreAttrChangeLength(0)
|
||||
, mSuppressNotifications(0)
|
||||
, mPreCharacterDataChangeLength(-1)
|
||||
, mSendingNotification(NOTIFY_IME_OF_NOTHING)
|
||||
|
|
|
@ -577,6 +577,7 @@ private:
|
|||
|
||||
CompositionEventDispatcher()
|
||||
: Runnable("TextComposition::CompositionEventDispatcher")
|
||||
, mEventMessage(eVoidEvent)
|
||||
, mIsSynthesizedEvent(false){};
|
||||
};
|
||||
|
||||
|
|
|
@ -280,6 +280,10 @@ public:
|
|||
*/
|
||||
explicit WheelDeltaHorizontalizer(WidgetWheelEvent& aWheelEvent)
|
||||
: mWheelEvent(aWheelEvent)
|
||||
, mOldDeltaX(0.0)
|
||||
, mOldDeltaZ(0.0)
|
||||
, mOldOverflowDeltaX(0.0)
|
||||
, mOldLineOrPageDeltaX(0)
|
||||
, mHorizontalized(false)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -16,6 +16,7 @@ XULCommandEvent::XULCommandEvent(EventTarget* aOwner,
|
|||
: UIEvent(aOwner, aPresContext,
|
||||
aEvent ? aEvent :
|
||||
new WidgetInputEvent(false, eVoidEvent, nullptr))
|
||||
, mInputSource(0)
|
||||
{
|
||||
if (aEvent) {
|
||||
mEventIsInternal = false;
|
||||
|
|
Загрузка…
Ссылка в новой задаче