summaryrefslogtreecommitdiff
path: root/dom/media/MediaDecoder.h
diff options
context:
space:
mode:
authorMatheus Marinho <matheus4551@hotmail.com>2023-08-31 12:07:34 -0300
committerMatheus Marinho <matheus4551@hotmail.com>2023-08-31 17:04:44 -0300
commitc94c303447e0a183685c0aea8a54f1e90efeb68b (patch)
treec3126d2de533755bf93cc8fc4816379b33dcbebf /dom/media/MediaDecoder.h
parent7a4b8501505e9ed433db0b5a675bc38398b74bb8 (diff)
downloaduxp-c94c303447e0a183685c0aea8a54f1e90efeb68b.tar.gz
Make Gecko Media Plugins optional when not building EME or WebRTC
Co-authored-by: Moonchild <moonchild@palemoon.org>
Diffstat (limited to 'dom/media/MediaDecoder.h')
-rw-r--r--dom/media/MediaDecoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/media/MediaDecoder.h b/dom/media/MediaDecoder.h
index 6c6fd169a4..95f211e1c5 100644
--- a/dom/media/MediaDecoder.h
+++ b/dom/media/MediaDecoder.h
@@ -246,7 +246,9 @@ public:
// Must be called before Shutdown().
bool OwnerHasError() const;
+#ifdef MOZ_GMP
already_AddRefed<GMPCrashHelper> GetCrashHelper() override;
+#endif
protected:
// Updates the media duration. This is called while the media is being