summaryrefslogtreecommitdiff
path: root/dom/media/MediaFormatReader.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-10-17 12:56:22 +0200
committerMoonchild <moonchild@palemoon.org>2023-10-17 16:37:41 +0200
commit08406731e57a357418190043eaa83e5d27c11dd0 (patch)
treefd34b63b0ae134e7fcef0dac433edff861740f0c /dom/media/MediaFormatReader.h
parent60b4d804bd8f29582df32db7e862e1e91b221e69 (diff)
downloaduxp-08406731e57a357418190043eaa83e5d27c11dd0.tar.gz
Issue #2346 - Remove MOZ_EME conditional code
Diffstat (limited to 'dom/media/MediaFormatReader.h')
-rw-r--r--dom/media/MediaFormatReader.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/dom/media/MediaFormatReader.h b/dom/media/MediaFormatReader.h
index ccd43f0e6a..4e084f4158 100644
--- a/dom/media/MediaFormatReader.h
+++ b/dom/media/MediaFormatReader.h
@@ -19,10 +19,6 @@
namespace mozilla {
-#ifdef MOZ_EME
-class CDMProxy;
-#endif
-
class MediaFormatReader final : public MediaDecoderReader
{
typedef TrackInfo::TrackType TrackType;
@@ -92,10 +88,6 @@ public:
return mTrackDemuxersMayBlock;
}
-#ifdef MOZ_EME
- void SetCDMProxy(CDMProxy* aProxy) override;
-#endif
-
// Returns a string describing the state of the decoder data.
// Used for debugging purposes.
void GetMozDebugReaderData(nsAString& aString);
@@ -587,14 +579,6 @@ private:
RefPtr<VideoFrameContainer> mVideoFrameContainer;
layers::ImageContainer* GetImageContainer();
-#ifdef MOZ_EME
- RefPtr<CDMProxy> mCDMProxy;
-#endif
-
-#ifdef MOZ_GMP
- RefPtr<GMPCrashHelper> mCrashHelper;
-#endif
-
void SetBlankDecode(TrackType aTrack, bool aIsBlankDecode);
class DecoderFactory;