Bug 1222444 - remove unused variable in nsWindow::GetMessageTimeStamp; r=roc
authorNathan Froyd <froydnj@mozilla.com>
Thu, 05 Nov 2015 15:15:49 -0500
changeset 271629 efc887974a0c606a59ca07b8f2d7edf60ac7dcfe
parent 271628 576bd647a311953ead88659e078a509410b1e680
child 271630 d907f1abdcf6f705e2554399218fe010a6b151a8
push id67715
push usernfroyd@mozilla.com
push dateSat, 07 Nov 2015 01:42:41 +0000
treeherdermozilla-inbound@efc887974a0c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs1222444
milestone45.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 1222444 - remove unused variable in nsWindow::GetMessageTimeStamp; r=roc
widget/windows/nsWindow.cpp
--- a/widget/windows/nsWindow.cpp
+++ b/widget/windows/nsWindow.cpp
@@ -5900,18 +5900,16 @@ nsWindow::ClientMarginHitTestPoint(int32
   }
 
   return testResult;
 }
 
 TimeStamp
 nsWindow::GetMessageTimeStamp(LONG aEventTime)
 {
-  DWORD eventTime = static_cast<DWORD>(aEventTime);
-
   CurrentWindowsTimeGetter getCurrentTime;
   return TimeConverter().GetTimeStampFromSystemTime(aEventTime,
                                                     getCurrentTime);
 }
 
 void nsWindow::PostSleepWakeNotification(const bool aIsSleepMode)
 {
   if (aIsSleepMode == gIsSleepMode)