Bug 1373595. P3 - devirtualize NotifyDownloadProgressed which has no overrides at all. draft
authorJW Wang <jwwang@mozilla.com>
Mon, 19 Jun 2017 11:02:20 +0800
changeset 596342 7d0b8d3ad64000c1e3238f441e01b6644a06a129
parent 596266 a01469efbba090d90cdd6980b0582afec396b389
child 633918 7dc0dd0da5f9e511ba10ddbdd09cd8d6985d032b
push id64586
push userjwwang@mozilla.com
push dateMon, 19 Jun 2017 05:37:37 +0000
bugs1373595
milestone56.0a1
Bug 1373595. P3 - devirtualize NotifyDownloadProgressed which has no overrides at all. MozReview-Commit-ID: 7RoBvSc4fXP
dom/media/MediaDecoder.h
--- a/dom/media/MediaDecoder.h
+++ b/dom/media/MediaDecoder.h
@@ -250,17 +250,17 @@ public:
   // Return the duration of the video in seconds.
   virtual double GetDuration();
 
   // Return true if the stream is infinite (see SetInfinite).
   bool IsInfinite() const;
 
   // Called by MediaResource when some data has been received.
   // Call on the main thread only.
-  virtual void NotifyDownloadProgressed();
+  void NotifyDownloadProgressed();
 
   // Called as data arrives on the stream and is read into the cache.  Called
   // on the main thread only.
   void NotifyDataArrived();
 
   // Return true if we are currently seeking in the media resource.
   // Call on the main thread only.
   bool IsSeeking() const;