Backed out changeset 24c0074052e6 (bug 1224936) for incoming mulet bustage

--HG--
extra : commitid : CTB4L0oz2Q5
This commit is contained in:
Wes Kocher 2015-11-20 17:09:44 -08:00
parent 78387921a4
commit 30cc866544

View File

@ -786,7 +786,6 @@ void HTMLMediaElement::NoSupportedMediaSourceError()
ChangeNetworkState(nsIDOMHTMLMediaElement::NETWORK_NO_SOURCE);
DispatchAsyncEvent(NS_LITERAL_STRING("error"));
ChangeDelayLoadStatus(false);
UpdateAudioChannelPlayingState();
}
typedef void (HTMLMediaElement::*SyncSectionFn)();
@ -3531,7 +3530,6 @@ void HTMLMediaElement::Error(uint16_t aErrorCode)
ChangeNetworkState(nsIDOMHTMLMediaElement::NETWORK_IDLE);
}
ChangeDelayLoadStatus(false);
UpdateAudioChannelPlayingState();
}
void HTMLMediaElement::PlaybackEnded()
@ -4758,11 +4756,6 @@ HTMLMediaElement::IsPlayingThroughTheAudioChannel() const
return false;
}
// If we have an error, we are not playing.
if (mError) {
return false;
}
// The volume should not be ~0
if (std::fabs(Volume()) <= 1e-7) {
return false;