Bug 1289668 - VideoPlaybackQuality style - r=kamidphish
authorGerald Squelart <gsquelart@mozilla.com>
Fri, 15 Jul 2016 16:48:26 +1000
changeset 347093 32a2d4eb59416851c4aa556e3c217f82c7a1bdcd
parent 347092 a49f0b10436e63fcdfa2abd21f1f78502c85da42
child 347094 442f122200745ef96d1f4a220a6fb422001a351f
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskamidphish
bugs1289668
milestone50.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 1289668 - VideoPlaybackQuality style - r=kamidphish MozReview-Commit-ID: EorsgpmZM1S
dom/media/VideoPlaybackQuality.h
--- a/dom/media/VideoPlaybackQuality.h
+++ b/dom/media/VideoPlaybackQuality.h
@@ -31,27 +31,27 @@ public:
 
   JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
 
   DOMHighResTimeStamp CreationTime() const
   {
     return mCreationTime;
   }
 
-  uint32_t TotalVideoFrames()
+  uint32_t TotalVideoFrames() const
   {
     return mTotalFrames;
   }
 
-  uint32_t DroppedVideoFrames()
+  uint32_t DroppedVideoFrames() const
   {
     return mDroppedFrames;
   }
 
-  uint32_t CorruptedVideoFrames()
+  uint32_t CorruptedVideoFrames() const
   {
     return mCorruptedFrames;
   }
 
 private:
   ~VideoPlaybackQuality() {}
 
   RefPtr<HTMLMediaElement> mElement;
@@ -59,9 +59,9 @@ private:
   uint32_t mTotalFrames;
   uint32_t mDroppedFrames;
   uint32_t mCorruptedFrames;
 };
 
 } // namespace dom
 } // namespace mozilla
 
-#endif /* mozilla_dom_VideoPlaybackQuality_h_ */
+#endif // mozilla_dom_VideoPlaybackQuality_h_