| Index: chrome/service/cloud_print/cloud_print_proxy.cc
|
| diff --git a/chrome/service/cloud_print/cloud_print_proxy.cc b/chrome/service/cloud_print/cloud_print_proxy.cc
|
| index 60dbb87946af15a9fc40996fe38a8ad49a94d729..ae56186b61d9818604d855f702dcdb2a48d61884 100644
|
| --- a/chrome/service/cloud_print/cloud_print_proxy.cc
|
| +++ b/chrome/service/cloud_print/cloud_print_proxy.cc
|
| @@ -43,9 +43,9 @@ void LaunchBrowserProcessWithSwitch(const std::string& switch_string) {
|
| cmd_line.AppendSwitch(switch_string);
|
|
|
| #if defined(OS_POSIX) && !defined(OS_MACOSX)
|
| - base::ProcessHandle pid = 0;
|
| - base::LaunchProcess(cmd_line, base::LaunchOptions(), &pid);
|
| - base::EnsureProcessGetsReaped(pid);
|
| + base::Process process = base::LaunchProcess(cmd_line, base::LaunchOptions());
|
| + if (process.IsValid())
|
| + base::EnsureProcessGetsReaped(process.pid());
|
| #else
|
| base::LaunchOptions launch_options;
|
| #if defined(OS_WIN)
|
|
|