Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku.

This commit is contained in:
Alastor Wu
2015-12-24 17:17:30 +08:00
parent debcbd3f0c
commit eb69386b37
12 changed files with 21 additions and 42 deletions

View File

@@ -2296,8 +2296,7 @@ _setvalue(NPP npp, NPPVariable variable, void *result)
} else {
float volume = 0.0;
bool muted = true;
rv = agent->NotifyStartedPlaying(nsIAudioChannelAgent::AUDIO_AGENT_NOTIFY,
&volume, &muted);
rv = agent->NotifyStartedPlaying(&volume, &muted);
if (NS_WARN_IF(NS_FAILED(rv))) {
return NPERR_NO_ERROR;
}