Bug 1371200. P5 - devirtualize some functions that don't have overrides.
MozReview-Commit-ID: CtWPXF6MYIi
--- a/dom/media/MediaDecoder.h
+++ b/dom/media/MediaDecoder.h
@@ -218,19 +218,19 @@ public:
// Notify activity of the decoder owner is changed.
virtual void NotifyOwnerActivityChanged(bool aIsDocumentVisible,
Visibility aElementVisibility,
bool aIsElementInTree);
// Pause video playback.
virtual void Pause();
// Adjust the speed of the playback, optionally with pitch correction,
- virtual void SetVolume(double aVolume);
+ void SetVolume(double aVolume);
- virtual void SetPlaybackRate(double aPlaybackRate);
+ void SetPlaybackRate(double aPlaybackRate);
void SetPreservesPitch(bool aPreservesPitch);
bool GetMinimizePreroll() const { return mMinimizePreroll; }
// All MediaStream-related data is protected by mReentrantMonitor.
// We have at most one DecodedStreamData per MediaDecoder. Its stream
// is used as the input for each ProcessedMediaStream created by calls to
// captureStream(UntilEnded). Seeking creates a new source stream, as does