Bug 1189162 - Clamp gamepad.timestamp and VideoPlaybackQuality.creationTime. r=bz
This commit is contained in:
@@ -213,7 +213,7 @@ HTMLVideoElement::GetVideoPlaybackQuality()
|
||||
if (window) {
|
||||
nsPerformance* perf = window->GetPerformance();
|
||||
if (perf) {
|
||||
creationTime = perf->GetDOMTiming()->TimeStampToDOMHighRes(TimeStamp::Now());
|
||||
creationTime = perf->Now();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user