mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
ea4db7d7f9
commit
e12a3d9080
@ -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