Revert "Issue #80 - De-unify dom/media part 1"

This reverts commit b5b62d841c733dcb62112f3158f1488e670671d6.
This commit is contained in:
Moonchild 2020-04-22 13:17:28 +00:00 committed by Roy Tam
commit 294a1da59b
40 changed files with 50 additions and 79 deletions

View file

@ -788,13 +788,6 @@ 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()
{