mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 859939 - Make AsyncPanZoomController::mLastEventTime unsigned to avoid overflowing. r=kentuckyfriedtakahe
This commit is contained in:
parent
1b919ecf6e
commit
1334700038
@ -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.
|
||||
|
@ -93,7 +93,7 @@ static void InitAxisPrefs()
|
||||
}
|
||||
|
||||
Axis::Axis(AsyncPanZoomController* aAsyncPanZoomController)
|
||||
: mPos(0.0f),
|
||||
: mPos(0),
|
||||
mVelocity(0.0f),
|
||||
mAcceleration(0),
|
||||
mAsyncPanZoomController(aAsyncPanZoomController)
|
||||
|
Loading…
Reference in New Issue
Block a user