Merge remote-tracking branch 'origin/master' into custom

This commit is contained in:
Roy Tam 2020-05-02 09:19:25 +08:00
commit 1453f13d33
440 changed files with 4353 additions and 3378 deletions

View file

@ -784,6 +784,13 @@ MediaDecoder::CallSeek(const SeekTarget& aTarget, dom::Promise* aPromise)
&MediaDecoder::OnSeekResolved, &MediaDecoder::OnSeekRejected));
}
// GetCurrentTime is defined in winbase.h as a zero argument macro forwarding to
// GetTickCount(), which conflicts with the MediaDecoder::GetCurrentTime
// implementation here. Clear the macro.
#ifdef GetCurrentTime
#undef GetCurrentTime
#endif
double
MediaDecoder::GetCurrentTime()
{