Bug 1189162 - Clamp gamepad.timestamp and VideoPlaybackQuality.creationTime. r=bz

This commit is contained in:
Hiroyuki Ikezoe
2015-07-30 01:41:00 -04:00
parent 02fa9e6ca9
commit 3fe8712e83
3 changed files with 4 additions and 3 deletions

View File

@@ -213,7 +213,7 @@ HTMLVideoElement::GetVideoPlaybackQuality()
if (window) {
nsPerformance* perf = window->GetPerformance();
if (perf) {
creationTime = perf->GetDOMTiming()->TimeStampToDOMHighRes(TimeStamp::Now());
creationTime = perf->Now();
}
}