Backed out changeset 41195fb9f293 (bug 1177259)

This commit is contained in:
Carsten "Tomcat" Book
2015-07-11 14:13:27 +02:00
parent 887d50d82f
commit cf487e58dc
7 changed files with 25 additions and 26 deletions

View File

@@ -4538,10 +4538,10 @@ HTMLMediaElement::NotifyAudioChannelAgent(bool aPlaying)
if (aPlaying) {
float volume = 0.0;
bool muted = true;
mAudioChannelAgent->NotifyStartedPlaying(&volume, &muted);
mAudioChannelAgent->StartPlaying(&volume, &muted);
WindowVolumeChanged(volume, muted);
} else {
mAudioChannelAgent->NotifyStoppedPlaying();
mAudioChannelAgent->StopPlaying();
mAudioChannelAgent = nullptr;
}
}