Bug 1243359 - initialize mScrollSeriesNumber in all ScrollWheelInput constructors. r=roc
authorBogdan Postelnicu <bogdan.postelnicu@softvision.ro>
Thu, 28 Jan 2016 15:47:28 +0200
changeset 282124 13f6aa359a3c2ff4c326329f10f9a18aed674467
parent 282123 024b3a422b760196a5e1d3078027f543d3b30654
child 282125 37753d57910fa2059f8d92f6a232ebd3fd7e9e53
push id29951
push userkwierso@gmail.com
push dateFri, 29 Jan 2016 00:30:13 +0000
treeherdermozilla-central@a152a1cbdcf0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs1243359
milestone47.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1243359 - initialize mScrollSeriesNumber in all ScrollWheelInput constructors. r=roc
widget/InputData.cpp
--- a/widget/InputData.cpp
+++ b/widget/InputData.cpp
@@ -377,16 +377,17 @@ ScrollWheelInput::ScrollWheelInput(const
               aWheelEvent.modifiers)
   , mDeltaType(DeltaTypeForDeltaMode(aWheelEvent.deltaMode))
   , mScrollMode(SCROLLMODE_INSTANT)
   , mHandledByAPZ(aWheelEvent.mFlags.mHandledByAPZ)
   , mDeltaX(aWheelEvent.deltaX)
   , mDeltaY(aWheelEvent.deltaY)
   , mLineOrPageDeltaX(aWheelEvent.lineOrPageDeltaX)
   , mLineOrPageDeltaY(aWheelEvent.lineOrPageDeltaY)
+  , mScrollSeriesNumber(0)
   , mUserDeltaMultiplierX(1.0)
   , mUserDeltaMultiplierY(1.0)
   , mMayHaveMomentum(aWheelEvent.mayHaveMomentum)
   , mIsMomentum(aWheelEvent.isMomentum)
   , mAllowToOverrideSystemScrollSpeed(
       aWheelEvent.mAllowToOverrideSystemScrollSpeed)
 {
   mOrigin =