mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 1212102 - Drop unnecessary assertion comparing timestamps in SystemTimeConverter; r=karlt
This commit is contained in:
parent
7c417e6071
commit
e81ac381a9
@ -202,8 +202,6 @@ private:
|
||||
// is outside the integer range is undefined.
|
||||
// Then we do an implicit cast to Time (typically an unsigned 32-bit
|
||||
// integer) which wraps times outside that range.
|
||||
MOZ_ASSERT(mReferenceTimeStamp <= aTimeStamp,
|
||||
"Got a negative timestamp delta");
|
||||
Time timeStampDelta =
|
||||
static_cast<int64_t>((aTimeStamp - mReferenceTimeStamp).ToMilliseconds());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user