Bug 1171073 - Suppress content scrolling issue on 64-bit platforms. r=kats
authorMaksim Lebedev <alessarik@gmail.com>
Fri, 26 Jun 2015 08:45:00 +0200
changeset 250441 b3986f93172144cb00b73d870ee178f07ac1068d
parent 250440 d3d1ddf6a0cf667b3dae6644cdfa0e6876c14b61
child 250442 c36a4d16e798cef7b509b661cdb4c1d5e0b7a4c4
push id61569
push usercbook@mozilla.com
push dateMon, 29 Jun 2015 09:18:27 +0000
treeherdermozilla-inbound@c36a4d16e798 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1171073
milestone41.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 1171073 - Suppress content scrolling issue on 64-bit platforms. r=kats
widget/windows/WinUtils.cpp
--- a/widget/windows/WinUtils.cpp
+++ b/widget/windows/WinUtils.cpp
@@ -935,18 +935,18 @@ WinUtils::GetMouseInputSource()
   }
   return static_cast<uint16_t>(inputSource);
 }
 
 /* static */
 bool
 WinUtils::GetIsMouseFromTouch(uint32_t aEventType)
 {
-  const int MOZ_T_I_SIGNATURE = TABLET_INK_TOUCH | TABLET_INK_SIGNATURE;
-  const int MOZ_T_I_CHECK_TCH = TABLET_INK_TOUCH | TABLET_INK_CHECK;
+  const uint32_t MOZ_T_I_SIGNATURE = TABLET_INK_TOUCH | TABLET_INK_SIGNATURE;
+  const uint32_t MOZ_T_I_CHECK_TCH = TABLET_INK_TOUCH | TABLET_INK_CHECK;
   return ((aEventType == NS_MOUSE_MOVE ||
            aEventType == NS_MOUSE_BUTTON_DOWN ||
            aEventType == NS_MOUSE_BUTTON_UP) &&
          (GetMessageExtraInfo() & MOZ_T_I_SIGNATURE) == MOZ_T_I_CHECK_TCH);
 }
 
 /* static */
 MSG