Bug 1129388 - Define MSRangeRemovalAction in MediaSource.h where it is exposed. r=jya, a=sledru
authorJustin Wood <Callek@gmail.com>
Tue, 10 Feb 2015 14:02:00 -0500
changeset 243753 e95df19f3b70
parent 243752 7c472ea5e3b3
child 243754 61a56699e22d
push id4463
push userryanvm@gmail.com
push date2015-02-11 15:35 +0000
treeherdermozilla-beta@e95df19f3b70 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjya, sledru
bugs1129388
milestone36.0
Bug 1129388 - Define MSRangeRemovalAction in MediaSource.h where it is exposed. r=jya, a=sledru
dom/media/mediasource/MediaSource.h
dom/media/mediasource/MediaSourceDecoder.h
--- a/dom/media/mediasource/MediaSource.h
+++ b/dom/media/mediasource/MediaSource.h
@@ -24,21 +24,16 @@ struct JSContext;
 class JSObject;
 class nsPIDOMWindow;
 
 namespace mozilla {
 
 class ErrorResult;
 template <typename T> class AsyncEventRunner;
 
-enum MSRangeRemovalAction: uint8_t {
-  RUN = 0,
-  SKIP = 1
-};
-
 namespace dom {
 
 class GlobalObject;
 class SourceBuffer;
 class SourceBufferList;
 template <typename T> class Optional;
 
 #define MOZILLA_DOM_MEDIASOURCE_IMPLEMENTATION_IID \
--- a/dom/media/mediasource/MediaSourceDecoder.h
+++ b/dom/media/mediasource/MediaSourceDecoder.h
@@ -16,17 +16,21 @@
 class nsIStreamListener;
 
 namespace mozilla {
 
 class MediaResource;
 class MediaDecoderStateMachine;
 class SourceBufferDecoder;
 class TrackBuffer;
-enum MSRangeRemovalAction : uint8_t;
+
+enum MSRangeRemovalAction: uint8_t {
+  RUN = 0,
+  SKIP = 1
+};
 
 namespace dom {
 
 class HTMLMediaElement;
 class MediaSource;
 
 } // namespace dom