Bug 1183356 - Part 1: Use the outer window when refreshing media elements; r=baku

This commit is contained in:
Ehsan Akhgari 2015-07-13 21:22:49 -04:00
parent 67e7a4902e
commit 8447149ff4

View File

@ -3739,7 +3739,7 @@ void
nsPIDOMWindow::RefreshMediaElements()
{
nsRefPtr<AudioChannelService> service = AudioChannelService::GetOrCreate();
service->RefreshAgentsVolume(GetCurrentInnerWindow());
service->RefreshAgentsVolume(GetOuterWindow());
}
// nsISpeechSynthesisGetter