mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 818220 - SetMutedInternal must be called at anytime
This commit is contained in:
parent
8df2ff45a4
commit
75dc7a8581
@ -3534,13 +3534,13 @@ nsresult nsHTMLMediaElement::UpdateChannelMuteState()
|
||||
// We have to mute this channel:
|
||||
if (mute && !mChannelMuted) {
|
||||
mChannelMuted = true;
|
||||
SetMutedInternal(mMuted);
|
||||
DispatchAsyncEvent(NS_LITERAL_STRING("mozinterruptbegin"));
|
||||
} else if (!mute && mChannelMuted) {
|
||||
mChannelMuted = false;
|
||||
SetMutedInternal(mMuted);
|
||||
DispatchAsyncEvent(NS_LITERAL_STRING("mozinterruptend"));
|
||||
}
|
||||
|
||||
SetMutedInternal(mMuted);
|
||||
#endif
|
||||
|
||||
return NS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user