summaryrefslogtreecommitdiff
path: root/dom/media/fmp4/MP4Decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/fmp4/MP4Decoder.h')
-rw-r--r--dom/media/fmp4/MP4Decoder.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/dom/media/fmp4/MP4Decoder.h b/dom/media/fmp4/MP4Decoder.h
index ad5fba7b5..def4b4f99 100644
--- a/dom/media/fmp4/MP4Decoder.h
+++ b/dom/media/fmp4/MP4Decoder.h
@@ -48,8 +48,7 @@ public:
// Returns true if the MP4 backend is preffed on.
static bool IsEnabled();
- static already_AddRefed<dom::Promise>
- IsVideoAccelerated(layers::KnowsCompositor* aKnowsCompositor, nsIGlobalObject* aParent);
+ static bool IsVideoAccelerated(layers::KnowsCompositor* aKnowsCompositor, nsACString& aFailureReason);
void GetMozDebugReaderData(nsAString& aString) override;