| Index: chrome/common/service_process_util_unittest.cc
|
| diff --git a/chrome/common/service_process_util_unittest.cc b/chrome/common/service_process_util_unittest.cc
|
| index 14af917e191bf8ddd0d9fa01c92438d849e1c7b5..11c9b1ac4b68517e7d59a21faeb5e9b009e463e3 100644
|
| --- a/chrome/common/service_process_util_unittest.cc
|
| +++ b/chrome/common/service_process_util_unittest.cc
|
| @@ -150,8 +150,9 @@ TEST_F(ServiceProcessStateTest, AutoRun) {
|
| ASSERT_EQ(std::string::npos, exec_value.find('"'));
|
| ASSERT_EQ(std::string::npos, exec_value.find('\''));
|
|
|
| - base::CommandLine::StringVector argv;
|
| - base::SplitString(exec_value, ' ', &argv);
|
| + base::CommandLine::StringVector argv = base::SplitString(
|
| + exec_value, base::CommandLine::StringType(1, ' '),
|
| + base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
|
| ASSERT_GE(argv.size(), 2U)
|
| << "Expected at least one command-line option in: " << exec_value;
|
| autorun_command_line.reset(new base::CommandLine(argv));
|
|
|