diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-14 20:55:30 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-14 20:55:30 +0000 |
commit | adda869f22b29e7c43c2d84efdda2919854ed608 (patch) | |
tree | 9798ebe411388bacbd50a5798504f04ace15902b /chrome/browser/process_singleton_uitest.cc | |
parent | 81f5486a2aa70e059a76b6e0851bb55b2e3daf53 (diff) | |
download | chromium_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 'chrome/browser/process_singleton_uitest.cc')
-rw-r--r-- | chrome/browser/process_singleton_uitest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/process_singleton_uitest.cc b/chrome/browser/process_singleton_uitest.cc index 65c41fa..d546b9f 100644 --- a/chrome/browser/process_singleton_uitest.cc +++ b/chrome/browser/process_singleton_uitest.cc @@ -97,8 +97,9 @@ class ChromeStarter : public base::RefCountedThreadSafe<ChromeStarter> { // Here we don't wait for the app to be terminated because one of the // process will stay alive while the others will be restarted. If we would // wait here, we would never get a handle to the main process... - base::LaunchApp(command_line, false /* wait */, - false /* hidden */, &process_handle_); + base::LaunchOptions options; + options.process_handle = &process_handle_; + base::LaunchProcess(command_line, options); ASSERT_NE(base::kNullProcessHandle, process_handle_); // We can wait on the handle here, we should get stuck on one and only |