Bug 1191207 - cancel chrome checking
This commit is contained in:
@@ -4551,7 +4551,7 @@ HTMLMediaElement::NotifyAudioChannelAgent(bool aPlaying)
|
||||
|
||||
NS_IMETHODIMP HTMLMediaElement::WindowVolumeChanged(float aVolume, bool aMuted)
|
||||
{
|
||||
NS_ENSURE_TRUE(nsContentUtils::IsCallerChrome(), NS_ERROR_NOT_AVAILABLE);
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
|
||||
UpdateChannelMuteState(aVolume, aMuted);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user