diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 18:51:47 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 18:51:47 +0000 |
commit | b5ce736e9dc768a1156dd33a906b3ed4bfbd2276 (patch) | |
tree | 596e448d5064142853a64646a78382398f968adc /chrome/browser/shell_integration_linux.cc | |
parent | 96b3760243c36ed846179c18f22b91d4c996fe66 (diff) | |
download | chromium_src-b5ce736e9dc768a1156dd33a906b3ed4bfbd2276.zip chromium_src-b5ce736e9dc768a1156dd33a906b3ed4bfbd2276.tar.gz chromium_src-b5ce736e9dc768a1156dd33a906b3ed4bfbd2276.tar.bz2 |
Clean up users of a deprecated base::LaunchApp API.
BUG=88990
Review URL: http://codereview.chromium.org/7346017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92393 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/shell_integration_linux.cc')
-rw-r--r-- | chrome/browser/shell_integration_linux.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/shell_integration_linux.cc b/chrome/browser/shell_integration_linux.cc index 40257a5..43d6e68 100644 --- a/chrome/browser/shell_integration_linux.cc +++ b/chrome/browser/shell_integration_linux.cc @@ -58,7 +58,10 @@ bool LaunchXdgUtility(const std::vector<std::string>& argv, int* exit_code) { no_stdin.push_back(std::make_pair(devnull, STDIN_FILENO)); base::ProcessHandle handle; - if (!base::LaunchApp(argv, no_stdin, false, &handle)) { + base::LaunchOptions options; + options.process_handle = &handle; + options.fds_to_remap = &no_stdin; + if (!base::LaunchProcess(argv, options)) { close(devnull); return false; } |