Revert "dom/media: more eme fixes"

This reverts commit 58a39ca8cb.
This commit is contained in:
roytam1 2023-09-18 20:49:32 +08:00
commit 2c6336eddb
9 changed files with 10 additions and 72 deletions

View file

@ -3,9 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifdef MOZ_EME
#include "mozilla/CDMProxy.h"
#endif
#include "mozilla/ClearOnShutdown.h"
#include "mozilla/dom/HTMLMediaElement.h"
#include "mozilla/Preferences.h"
@ -619,7 +617,6 @@ private:
};
#endif
#ifdef MOZ_EME
void
MediaFormatReader::SetCDMProxy(CDMProxy* aProxy)
{
@ -631,7 +628,6 @@ MediaFormatReader::SetCDMProxy(CDMProxy* aProxy)
});
OwnerThread()->Dispatch(r.forget());
}
#endif
bool
MediaFormatReader::IsWaitingOnCDMResource() {