Bug 835753 - Add 'const' to argument of IMPDManager::GetAdaptationSetType(). r=sworkman
authorTetsuro Kato <tete009+bugzilla@gmail.com>
Tue, 29 Jan 2013 19:59:31 +0900
changeset 122134 9b4182f33b7f93d2089280a3e523c3f48a039e66
parent 122133 36a17b72a5860c90e166b14d9f871b3abddf6e6f
child 122135 159954333c5ebe635ad1c463253f81f1f190a913
push id24319
push userryanvm@gmail.com
push dateSat, 16 Feb 2013 23:49:46 +0000
treeherdermozilla-central@c4de6de47382 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssworkman
bugs835753
milestone21.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 835753 - Add 'const' to argument of IMPDManager::GetAdaptationSetType(). r=sworkman
netwerk/dash/mpd/IMPDManager.h
--- a/netwerk/dash/mpd/IMPDManager.h
+++ b/netwerk/dash/mpd/IMPDManager.h
@@ -81,17 +81,17 @@ public:
   // Gets the total number of |AdaptationSet|s in the first |Period|.
   // Usually, this should be 2 for audio and video.
   // XXX Future versions may require a |Period| index.
   // XXX Future versions may have multiple tracks for audio.
   virtual uint32_t GetNumAdaptationSets() const = 0;
 
   // Returns the media type for the given |AdaptationSet|, audio/video.
   virtual AdaptationSetType
-          GetAdaptationSetType(uint32_t aAdaptSetIdx) const = 0;
+          GetAdaptationSetType(uint32_t const aAdaptSetIdx) const = 0;
 
   // Gets the number of media |Representation|s for the given |AdaptationSet|.
   // e.g how many bitrate encodings are there of the audio stream?
   virtual uint32_t
           GetNumRepresentations(uint32_t const aAdaptSetIdx) const = 0;
 
   // Gets the specified |Representation| from the specified |AdaptationSet|,
   // e.g. get metadata about the 64Kbps encoding of the video stream.