Bug 1146086: Properly marking overridden member with override keyword. v2. a=bustage
authorJean-Yves Avenard <jyavenard@mozilla.com>
Tue, 11 Aug 2015 16:42:19 +1000
changeset 291473 7042219cf7f332ce97605958506557a9ae7e9402
parent 291472 ed7bf9f0cc9246745ccfbbb6d86c77b984082500
child 291474 de18634e66ab3fe77ba99544a48653cfa6788312
push id962
push userjlund@mozilla.com
push dateFri, 04 Dec 2015 23:28:54 +0000
treeherdermozilla-release@23a2d286e80f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1146086
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1146086: Properly marking overridden member with override keyword. v2. a=bustage
dom/media/webm/AudioDecoder.cpp
--- a/dom/media/webm/AudioDecoder.cpp
+++ b/dom/media/webm/AudioDecoder.cpp
@@ -228,17 +228,17 @@ VorbisDecoder::Decode(const unsigned cha
 
 class OpusDecoder : public WebMAudioDecoder
 {
 public:
   nsRefPtr<InitPromise> Init() override;
   void Shutdown() override;
   nsresult ResetDecode() override;
   nsresult DecodeHeader(const unsigned char* aData, size_t aLength) override;
-  nsresult FinishInit(AudioInfo& aInfo);
+  nsresult FinishInit(AudioInfo& aInfo) override;
   bool Decode(const unsigned char* aData, size_t aLength,
               int64_t aOffset, uint64_t aTstampUsecs,
               int64_t aDiscardPadding, int32_t* aTotalFrames) override;
   explicit OpusDecoder(WebMReader* aReader);
   ~OpusDecoder();
 private:
   nsRefPtr<WebMReader> mReader;