Bug 1297311: P2. Remove redundant virtual keyword. r?mattwoodrow draft
authorJean-Yves Avenard <jyavenard@mozilla.com>
Mon, 26 Sep 2016 12:33:49 +1000
changeset 417519 40ab37aaad770cc98baedf51926ff9edb3fb686a
parent 417518 3e3417b8101674b816b1576774bc22cfdabf06bb
child 532097 6fa799cbdd7a80f5bd8c29f34e1752ca18bacaad
push id30410
push userbmo:jyavenard@mozilla.com
push dateMon, 26 Sep 2016 02:36:42 +0000
reviewersmattwoodrow
bugs1297311
milestone52.0a1
Bug 1297311: P2. Remove redundant virtual keyword. r?mattwoodrow MozReview-Commit-ID: D78jszKQrev
dom/media/ipc/RemoteVideoDecoder.h
--- a/dom/media/ipc/RemoteVideoDecoder.h
+++ b/dom/media/ipc/RemoteVideoDecoder.h
@@ -56,28 +56,32 @@ private:
 // protocol
 class RemoteDecoderModule : public PlatformDecoderModule
 {
 public:
   explicit RemoteDecoderModule(PlatformDecoderModule* aWrapped)
     : mWrapped(aWrapped)
   {}
 
-  virtual nsresult Startup() override;
+  nsresult Startup() override;
 
-  virtual bool SupportsMimeType(const nsACString& aMimeType,
-                                DecoderDoctorDiagnostics* aDiagnostics) const override;
+  bool SupportsMimeType(const nsACString& aMimeType,
+                        DecoderDoctorDiagnostics* aDiagnostics) const override;
+
+  ConversionRequired DecoderNeedsConversion(
+    const TrackInfo& aConfig) const override;
 
-  virtual ConversionRequired DecoderNeedsConversion(const TrackInfo& aConfig) const override;
+  already_AddRefed<MediaDataDecoder> CreateVideoDecoder(
+    const CreateDecoderParams& aParams) override;
 
-  virtual already_AddRefed<MediaDataDecoder>
-  CreateVideoDecoder(const CreateDecoderParams& aParams) override;
-
-  virtual already_AddRefed<MediaDataDecoder>
-  CreateAudioDecoder(const CreateDecoderParams& aParams) override { return nullptr; }
+  already_AddRefed<MediaDataDecoder> CreateAudioDecoder(
+    const CreateDecoderParams& aParams) override
+  {
+    return nullptr;
+  }
 
 private:
   RefPtr<PlatformDecoderModule> mWrapped;
 };
 
 } // namespace dom
 } // namespace mozilla