Bug 1211511 - AudioChannelAgent::NotifyStartedPlaying and NotifyStoppedPlaying should use the same level of playback notification, r=roc

This commit is contained in:
Andrea Marchesini
2015-10-07 20:06:47 +01:00
parent 66e3352087
commit a2dadd1e73
11 changed files with 24 additions and 26 deletions

View File

@@ -2283,7 +2283,7 @@ _setvalue(NPP npp, NPPVariable variable, void *result)
MOZ_ASSERT(agent);
if (isMuted) {
rv = agent->NotifyStoppedPlaying(nsIAudioChannelAgent::AUDIO_AGENT_NOTIFY);
rv = agent->NotifyStoppedPlaying();
if (NS_WARN_IF(NS_FAILED(rv))) {
return NPERR_NO_ERROR;
}