Backed out changeset eb7f310f128d (bug 1274626) for breaking unified builds
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Tue, 02 Aug 2016 17:47:47 +0200
changeset 307772 6608e5864780589b25d5421c3d3673ab30c4c318
parent 307771 4a3d68cc57ba02a82aeae6996eb02f47112a02cf
child 307773 dcae241857b185f583f6c3f568b1bd3b1b52de41
child 307921 8ab41761981936b5fb655e07f4d0d725ea514905
child 307931 7fe354d220511983ca331519f973276a7b9d78ec
child 307984 51347417809ee6c2324e48c7deed3cfae245f6a0
push id80165
push usercbook@mozilla.com
push dateTue, 02 Aug 2016 15:48:42 +0000
treeherdermozilla-inbound@dcae241857b1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1274626
milestone51.0a1
backs outeb7f310f128d696a467fe6974d981692552fed32
first release with
nightly linux32
6608e5864780 / 51.0a1 / 20160803030226 / files
nightly linux64
6608e5864780 / 51.0a1 / 20160803030226 / files
nightly mac
6608e5864780 / 51.0a1 / 20160803030226 / files
nightly win32
6608e5864780 / 51.0a1 / 20160803030226 / files
nightly win64
6608e5864780 / 51.0a1 / 20160803030226 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset eb7f310f128d (bug 1274626) for breaking unified builds
dom/html/HTMLMediaElement.cpp
dom/html/HTMLMediaElement.h
dom/webidl/HTMLMediaElement.webidl
--- a/dom/html/HTMLMediaElement.cpp
+++ b/dom/html/HTMLMediaElement.cpp
@@ -792,27 +792,16 @@ HTMLMediaElement::GetMozDebugReaderData(
 void
 HTMLMediaElement::MozDumpDebugInfo()
 {
   if (mDecoder) {
     mDecoder->DumpDebugInfo();
   }
 }
 
-void
-HTMLMediaElement::SetVisible(bool aVisible)
-{
-  if (!mDecoder) {
-    return;
-  }
-
-  mDecoder->NotifyOwnerActivityChanged(aVisible);
-
-}
-
 already_AddRefed<DOMMediaStream>
 HTMLMediaElement::GetSrcObject() const
 {
   NS_ASSERTION(!mSrcAttrStream || mSrcAttrStream->GetPlaybackStream(),
                "MediaStream should have been set up properly");
   RefPtr<DOMMediaStream> stream = mSrcAttrStream;
   return stream.forget();
 }
--- a/dom/html/HTMLMediaElement.h
+++ b/dom/html/HTMLMediaElement.h
@@ -601,18 +601,16 @@ public:
 
   already_AddRefed<MediaSource> GetMozMediaSourceObject() const;
   // Returns a string describing the state of the media player internal
   // data. Used for debugging purposes.
   void GetMozDebugReaderData(nsAString& aString);
 
   void MozDumpDebugInfo();
 
-  void SetVisible(bool aVisible);
-
   already_AddRefed<DOMMediaStream> GetSrcObject() const;
   void SetSrcObject(DOMMediaStream& aValue);
   void SetSrcObject(DOMMediaStream* aValue);
 
   // TODO: remove prefixed versions soon (1183495).
   already_AddRefed<DOMMediaStream> GetMozSrcObject() const;
   void SetMozSrcObject(DOMMediaStream& aValue);
   void SetMozSrcObject(DOMMediaStream* aValue);
--- a/dom/webidl/HTMLMediaElement.webidl
+++ b/dom/webidl/HTMLMediaElement.webidl
@@ -209,17 +209,8 @@ partial interface HTMLMediaElement {
  *     beginning time, then the SeekToNextFrame() operation sets the media's
  *     currentTime to the duration of the media source and dispatches a "seeked"
  *     event and an "ended" event.
  */
 partial interface HTMLMediaElement {
   [Throws, Pref="media.seekToNextFrame.enabled"]
   Promise<void> seekToNextFrame();
 };
-
-/*
- * This is an API for simulating visibility changes to help debug and write
- * tests about suspend-video-decoding.
- */
-partial interface HTMLMediaElement {
-  [Pref="media.test.setVisible"]
-  void setVisible(boolean aVisible);
-};