Backout changeset 3077d21f177b because of the wrong bug number
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 26 Jul 2012 15:24:02 -0400
changeset 102476 6b4f10c6d5e29a4ff4705b1375d06f98ee8fe9fc
parent 102475 221933d494d3080905141c88e744511323f3ffd3
child 102477 46ea45da584e54e608780af2720a559df6716c4f
push id18
push usershu@rfrn.org
push dateMon, 06 Aug 2012 22:42:45 +0000
milestone17.0a1
backs out3077d21f177b55ad0ed3ee5ca585ed7f8b065137
Backout changeset 3077d21f177b because of the wrong bug number
widget/nsGUIEventIPC.h
--- a/widget/nsGUIEventIPC.h
+++ b/widget/nsGUIEventIPC.h
@@ -131,17 +131,17 @@ struct ParamTraits<nsMouseEvent>
     WriteParam(aMsg, (PRUint8) aParam.context);
     WriteParam(aMsg, (PRUint8) aParam.exit);
     WriteParam(aMsg, aParam.clickCount);
   }
 
   static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
   {
     bool rv;
-    PRUint8 reason = 0, context = 0, exit = 0;
+    PRUint8 reason, context, exit;
     rv = ReadParam(aMsg, aIter, static_cast<nsMouseEvent_base*>(aResult)) &&
          ReadParam(aMsg, aIter, &aResult->ignoreRootScrollFrame) &&
          ReadParam(aMsg, aIter, &reason) &&
          ReadParam(aMsg, aIter, &context) &&
          ReadParam(aMsg, aIter, &exit) &&
          ReadParam(aMsg, aIter, &aResult->clickCount);
     aResult->reason = static_cast<nsMouseEvent::reasonType>(reason);
     aResult->context = static_cast<nsMouseEvent::contextType>(context);