Bug 1191207 - cancel chrome checking

This commit is contained in:
Alastor Wu
2015-08-06 14:54:01 +08:00
parent 96dc959611
commit 58ea40697a

View File

@@ -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);