Back out c4a4b0171b99 (bug 736400) for Android build bustage
authorPhil Ringnalda <philringnalda@gmail.com>
Sun, 25 Mar 2012 15:35:37 -0700
changeset 93593 9f417cb5cd16f0083bda275b29c3ceec2fd045f2
parent 93592 c4a4b0171b99299ebd17218fe38fa68f6e7d4a31
child 93594 b95853f361bf9efc9d0dcb0bdd763a34837a4408
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs736400
milestone14.0a1
backs outc4a4b0171b99299ebd17218fe38fa68f6e7d4a31
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
Back out c4a4b0171b99 (bug 736400) for Android build bustage
content/media/ogg/nsOggDecoder.h
content/media/raw/nsRawDecoder.h
content/media/wave/nsWaveDecoder.h
content/media/webm/nsWebMDecoder.h
--- a/content/media/ogg/nsOggDecoder.h
+++ b/content/media/ogg/nsOggDecoder.h
@@ -39,18 +39,13 @@
 #if !defined(nsOggDecoder_h_)
 #define nsOggDecoder_h_
 
 #include "nsBuiltinDecoder.h"
 
 class nsOggDecoder : public nsBuiltinDecoder
 {
 public:
-  virtual nsMediaDecoder* Clone() {
-    if (!nsHTMLMediaElement::IsOggEnabled()) {
-      return nsnull;
-    }
-    return new nsOggDecoder();
-  }
+  virtual nsMediaDecoder* Clone() { return new nsOggDecoder(); }
   virtual nsDecoderStateMachine* CreateStateMachine();
 };
 
 #endif
--- a/content/media/raw/nsRawDecoder.h
+++ b/content/media/raw/nsRawDecoder.h
@@ -37,18 +37,13 @@
 #if !defined(nsRawDecoder_h_)
 #define nsRawDecoder_h_
 
 #include "nsBuiltinDecoder.h"
 
 class nsRawDecoder : public nsBuiltinDecoder
 {
 public:
-  virtual nsMediaDecoder* Clone() { 
-    if (!nsHTMLMediaElement::IsRawEnabled()) {
-      return nsnull;
-    }    
-    return new nsRawDecoder();
-  }
+  virtual nsMediaDecoder* Clone() { return new nsRawDecoder(); }
   virtual nsDecoderStateMachine* CreateStateMachine();
 };
 
 #endif
--- a/content/media/wave/nsWaveDecoder.h
+++ b/content/media/wave/nsWaveDecoder.h
@@ -50,18 +50,13 @@
  * require extending nsWaveDecoder to support parsing the newer
  * WAVE_FORMAT_EXTENSIBLE chunk format.
 **/
 
 
 class nsWaveDecoder : public nsBuiltinDecoder
 {
 public:
-  virtual nsMediaDecoder* Clone() {
-    if (!nsHTMLMediaElement::IsWaveEnabled()) {
-      return nsnull;
-    }
-    return new nsWaveDecoder();
-  }
-  virtual nsDecoderStateMachine* CreateStateMachine();
+   virtual nsMediaDecoder* Clone() { return new nsWaveDecoder(); }
+   virtual nsDecoderStateMachine* CreateStateMachine();
 };
 
 #endif
--- a/content/media/webm/nsWebMDecoder.h
+++ b/content/media/webm/nsWebMDecoder.h
@@ -39,18 +39,13 @@
 #if !defined(nsWebMDecoder_h_)
 #define nsWebMDecoder_h_
 
 #include "nsBuiltinDecoder.h"
 
 class nsWebMDecoder : public nsBuiltinDecoder
 {
 public:
-  virtual nsMediaDecoder* Clone() {
-    if (!nsHTMLMediaElement::IsWebMEnabled()) {
-      return nsnull;
-    }
-    return new nsWebMDecoder();
-  }
+  virtual nsMediaDecoder* Clone() { return new nsWebMDecoder(); }
   virtual nsDecoderStateMachine* CreateStateMachine();
 };
 
 #endif