mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 14:25:52 +00:00
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:
parent
3da73d568f
commit
a82b0e03e6
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user