Bug 1212102 - Drop unnecessary assertion comparing timestamps in SystemTimeConverter; r=karlt

This commit is contained in:
Brian Birtles 2015-10-21 15:26:46 +09:00
parent 7c417e6071
commit e81ac381a9

View File

@ -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());