Index: chrome/browser/first_run/first_run_win.cc |
diff --git a/chrome/browser/first_run/first_run_win.cc b/chrome/browser/first_run/first_run_win.cc |
index a5b1e91e33f71574c3042d1686cb796f57b40779..3d0eb3f78fc6ce6e563a7312d79d2818a13da7b8 100644 |
--- a/chrome/browser/first_run/first_run_win.cc |
+++ b/chrome/browser/first_run/first_run_win.cc |
@@ -145,7 +145,9 @@ bool FirstRun::LaunchSetupWithParam(const std::string& param, |
cl.AppendSwitch(switches::kChromeFrame); |
} |
- if (!base::LaunchApp(cl, false, false, &ph)) |
+ base::LaunchOptions options; |
+ options.process_handle = &ph; |
+ if (!base::LaunchProcess(cl, options)) |
return false; |
DWORD wr = ::WaitForSingleObject(ph, INFINITE); |
if (wr != WAIT_OBJECT_0) |
@@ -342,7 +344,9 @@ bool FirstRun::ImportSettings(Profile* profile, |
// Time to launch the process that is going to do the import. |
base::ProcessHandle import_process; |
- if (!base::LaunchApp(import_cmd, false, false, &import_process)) |
+ base::LaunchOptions options; |
+ options.process_handle = &import_process; |
+ if (!base::LaunchProcess(import_cmd, options)) |
return false; |
// We block inside the import_runner ctor, pumping messages until the |