Bug 859939 - Make AsyncPanZoomController::mLastEventTime unsigned to avoid overflowing. r=kentuckyfriedtakahe

This commit is contained in:
Kartikaya Gupta 2013-04-09 22:17:54 -04:00
parent 1b919ecf6e
commit 1334700038
2 changed files with 2 additions and 2 deletions

View File

@ -543,7 +543,7 @@ private:
// frame.
TimeStamp mLastSampleTime;
// The last time a touch event came through on the UI thread.
int32_t mLastEventTime;
uint32_t mLastEventTime;
// Start time of an animation. This is used for a zoom to animation to mark
// the beginning.

View File

@ -93,7 +93,7 @@ static void InitAxisPrefs()
}
Axis::Axis(AsyncPanZoomController* aAsyncPanZoomController)
: mPos(0.0f),
: mPos(0),
mVelocity(0.0f),
mAcceleration(0),
mAsyncPanZoomController(aAsyncPanZoomController)