Index: chrome/browser/chromeos/input_method/input_method_manager.cc |
diff --git a/chrome/browser/chromeos/input_method/input_method_manager.cc b/chrome/browser/chromeos/input_method/input_method_manager.cc |
index da81d24c47b306bfb82aeb7d02fbeae07dec9d39..62824fa49b93b4a4b95cc49eca3969956e461574 100644 |
--- a/chrome/browser/chromeos/input_method/input_method_manager.cc |
+++ b/chrome/browser/chromeos/input_method/input_method_manager.cc |
@@ -762,11 +762,10 @@ class InputMethodManagerImpl : public InputMethodManager, |
// TODO(zork): export "LD_PRELOAD=/usr/lib/libcrash.so" |
base::SplitString(command_line, ' ', &argv); |
- const bool result = base::LaunchApp(argv, |
- fds_to_remap, // no remapping |
- false, // wait |
- &handle); |
- if (!result) { |
+ |
+ base::LaunchOptions options; |
+ options.process_handle = &handle; |
+ if (!base::LaunchProcess(argv, options)) { |
LOG(ERROR) << "Could not launch: " << command_line; |
return false; |
} |