Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Unified Diff: media/audio/linux/audio_manager_linux.cc

Issue 7351003: Clean up users of a deprecated base::LaunchApp API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win-only Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/sandbox_policy.cc ('k') | media/audio/win/audio_manager_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/linux/audio_manager_linux.cc
diff --git a/media/audio/linux/audio_manager_linux.cc b/media/audio/linux/audio_manager_linux.cc
index f2b5d6666ad3f740ff80fc909640f0c639ce2389..b2bf6bb94ebf8c18841f3444b15de80fc83c5d48 100644
--- a/media/audio/linux/audio_manager_linux.cc
+++ b/media/audio/linux/audio_manager_linux.cc
@@ -192,7 +192,8 @@ void AudioManagerLinux::ShowAudioInputSettings() {
env.get());
std::string command((desktop == base::nix::DESKTOP_ENVIRONMENT_GNOME) ?
"gnome-volume-control" : "kmix");
- base::LaunchApp(CommandLine(FilePath(command)), false, false, NULL);
+ base::LaunchOptions options;
+ base::LaunchProcess(CommandLine(FilePath(command)), options);
}
void AudioManagerLinux::GetAudioInputDeviceNames(
« no previous file with comments | « content/common/sandbox_policy.cc ('k') | media/audio/win/audio_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698