Add linux guard for SetGlobalAppName call

This commit is contained in:
Kevin Sawicki 2016-10-07 13:44:31 -07:00
parent f09ed4b677
commit c37740273f

View file

@ -491,9 +491,11 @@ void App::OnWillFinishLaunching() {
}
void App::OnFinishLaunching(const base::DictionaryValue& launch_info) {
#if defined(OS_LINUX)
// Set the application name for audio streams shown in external
// applications. Only affects pulseaudio currently.
media::AudioManager::SetGlobalAppName(Browser::Get()->GetName());
#endif
Emit("ready", launch_info);
}