Skip to content

Commit

Permalink
Back out changeset a9ca2bcc8633 (bug 1224936) for Mulet Gij bustage i…
Browse files Browse the repository at this point in the history
…n Player_test.js

CLOSED TREE
  • Loading branch information
philor committed Nov 17, 2015
1 parent fcabcac commit a0dfb7b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions dom/html/HTMLMediaElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,6 @@ void HTMLMediaElement::NoSupportedMediaSourceError()
ChangeNetworkState(nsIDOMHTMLMediaElement::NETWORK_NO_SOURCE);
DispatchAsyncEvent(NS_LITERAL_STRING("error"));
ChangeDelayLoadStatus(false);
UpdateAudioChannelPlayingState();
}

typedef void (HTMLMediaElement::*SyncSectionFn)();
Expand Down Expand Up @@ -3522,7 +3521,6 @@ void HTMLMediaElement::Error(uint16_t aErrorCode)
ChangeNetworkState(nsIDOMHTMLMediaElement::NETWORK_IDLE);
}
ChangeDelayLoadStatus(false);
UpdateAudioChannelPlayingState();
}

void HTMLMediaElement::PlaybackEnded()
Expand Down Expand Up @@ -4749,11 +4747,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;
Expand Down

0 comments on commit a0dfb7b

Please sign in to comment.