diff --git a/dom/media/platforms/android/AndroidDecoderModule.cpp b/dom/media/platforms/android/AndroidDecoderModule.cpp index 30a49d8e863e..232de997f5a0 100644 --- a/dom/media/platforms/android/AndroidDecoderModule.cpp +++ b/dom/media/platforms/android/AndroidDecoderModule.cpp @@ -193,7 +193,7 @@ public: } nsresult Output(BufferInfo::Param aInfo, void* aBuffer, - MediaFormat::Param aFormat, const TimeUnit& aDuration) + MediaFormat::Param aFormat, const TimeUnit& aDuration) override { // The output on Android is always 16-bit signed nsresult rv; diff --git a/netwerk/protocol/device/AndroidCaptureProvider.h b/netwerk/protocol/device/AndroidCaptureProvider.h index 5b242861fcf5..099f3f4312a1 100644 --- a/netwerk/protocol/device/AndroidCaptureProvider.h +++ b/netwerk/protocol/device/AndroidCaptureProvider.h @@ -25,7 +25,7 @@ class AndroidCaptureProvider final : public nsDeviceCaptureProvider { NS_DECL_THREADSAFE_ISUPPORTS - nsresult Init(nsACString& aContentType, nsCaptureParams* aParams, nsIInputStream** aStream); + nsresult Init(nsACString& aContentType, nsCaptureParams* aParams, nsIInputStream** aStream) override; static AndroidCaptureProvider* sInstance; }; @@ -42,7 +42,7 @@ class AndroidCameraInputStream final : public nsIAsyncInputStream, mozilla::net: NS_DECL_NSIINPUTSTREAM NS_DECL_NSIASYNCINPUTSTREAM - void ReceiveFrame(char* frame, uint32_t length); + void ReceiveFrame(char* frame, uint32_t length) override; protected: void NotifyListeners();