Bug 827961: Add explicit parens around condition in nsHTMLMediaElement::UpdateAudioChannelPlayingState(), to fix build warning (treated as error in warnings-as-errors builds). r=roc

This commit is contained in:
Daniel Holbert 2013-01-08 15:57:28 -08:00
parent 3da73d568f
commit a82b0e03e6

View File

@ -3572,8 +3572,8 @@ void nsHTMLMediaElement::UpdateAudioChannelPlayingState()
bool playingThroughTheAudioChannel =
(!mPaused &&
(HasAttr(kNameSpaceID_None, nsGkAtoms::loop) ||
mReadyState >= nsIDOMHTMLMediaElement::HAVE_CURRENT_DATA &&
!IsPlaybackEnded()));
(mReadyState >= nsIDOMHTMLMediaElement::HAVE_CURRENT_DATA &&
!IsPlaybackEnded())));
if (playingThroughTheAudioChannel != mPlayingThroughTheAudioChannel) {
mPlayingThroughTheAudioChannel = playingThroughTheAudioChannel;