Bug 1282154 - add more override declarations for Android-specific code; r=snorp

This commit is contained in:
Nathan Froyd 2016-07-21 16:46:41 -04:00
parent 4efebf6d76
commit 121f6f491f
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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();