summaryrefslogtreecommitdiffstats
path: root/media/audio
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-14 20:55:30 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-14 20:55:30 +0000
commitadda869f22b29e7c43c2d84efdda2919854ed608 (patch)
tree9798ebe411388bacbd50a5798504f04ace15902b /media/audio
parent81f5486a2aa70e059a76b6e0851bb55b2e3daf53 (diff)
downloadchromium_src-adda869f22b29e7c43c2d84efdda2919854ed608.zip
chromium_src-adda869f22b29e7c43c2d84efdda2919854ed608.tar.gz
chromium_src-adda869f22b29e7c43c2d84efdda2919854ed608.tar.bz2
Clean up users of a deprecated base::LaunchApp API.
BUG=88990 Review URL: http://codereview.chromium.org/7351003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/audio')
-rw-r--r--media/audio/linux/audio_manager_linux.cc3
-rw-r--r--media/audio/win/audio_manager_win.cc3
2 files changed, 4 insertions, 2 deletions
diff --git a/media/audio/linux/audio_manager_linux.cc b/media/audio/linux/audio_manager_linux.cc
index f2b5d66..b2bf6bb 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(
diff --git a/media/audio/win/audio_manager_win.cc b/media/audio/win/audio_manager_win.cc
index 6406b21..9a882f8 100644
--- a/media/audio/win/audio_manager_win.cc
+++ b/media/audio/win/audio_manager_win.cc
@@ -250,7 +250,8 @@ void AudioManagerWin::ShowAudioInputSettings() {
path = path.Append(program);
CommandLine command_line(path);
command_line.AppendArg(argument);
- base::LaunchApp(command_line, false, false, NULL);
+ base::LaunchOptions options;
+ base::LaunchProcess(command_line, options);
}
void AudioManagerWin::GetAudioInputDeviceNames(