Bug 1388236 - Remove B2G-only AudioChannel code from dom/audiochannel. r=alwu

This commit is contained in:
Matthew Gregan
2017-08-10 13:00:09 +12:00
parent bc23a892bd
commit c16f73903c
10 changed files with 37 additions and 180 deletions

View File

@@ -1263,9 +1263,7 @@ nsNPAPIPluginInstance::CreateAudioChannelAgentIfNeeded()
return NS_ERROR_FAILURE;
}
rv = mAudioChannelAgent->Init(window->GetCurrentInnerWindow(),
(int32_t)AudioChannelService::GetDefaultAudioChannel(),
this);
rv = mAudioChannelAgent->Init(window->GetCurrentInnerWindow(), this);
if (NS_WARN_IF(NS_FAILED(rv))) {
return rv;
}