backout 295c9fc5e652 due to wrong bug#
authorMasayuki Nakano <masayuki@d-toybox.com>
Wed, 15 Aug 2012 22:31:15 +0900
changeset 104377 53639beddbc2a7f533c5c27f442d9074cbef9470
parent 104376 295c9fc5e65288646efa2111801d6ec9af51d1b7
child 104378 0b26e7597f318860cdeaa6384e48319fcf5b67df
push id43
push usershu@rfrn.org
push dateMon, 20 Aug 2012 21:21:55 +0000
milestone17.0a1
backs out295c9fc5e65288646efa2111801d6ec9af51d1b7
backout 295c9fc5e652 due to wrong bug#
widget/nsGUIEventIPC.h
--- a/widget/nsGUIEventIPC.h
+++ b/widget/nsGUIEventIPC.h
@@ -114,17 +114,17 @@ struct ParamTraits<mozilla::widget::Whee
     WriteParam(aMsg, aParam.lineOrPageDeltaY);
     WriteParam(aMsg, static_cast<PRInt32>(aParam.scrollType));
     WriteParam(aMsg, aParam.overflowDeltaX);
     WriteParam(aMsg, aParam.overflowDeltaY);
   }
 
   static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
   {
-    PRInt32 scrollType = 0;
+    PRInt32 scrollType;
     bool rv =
       ReadParam(aMsg, aIter, static_cast<nsMouseEvent_base*>(aResult)) &&
       ReadParam(aMsg, aIter, &aResult->deltaX) &&
       ReadParam(aMsg, aIter, &aResult->deltaY) &&
       ReadParam(aMsg, aIter, &aResult->deltaZ) &&
       ReadParam(aMsg, aIter, &aResult->deltaMode) &&
       ReadParam(aMsg, aIter, &aResult->customizedByUserPrefs) &&
       ReadParam(aMsg, aIter, &aResult->isMomentum) &&