| Index: mojo/runner/init.cc
|
| diff --git a/mojo/runner/init.cc b/mojo/runner/init.cc
|
| index 17d5c1b46b0392ac6b58d6c1676ddc764494521e..2c7d289894796ff5a3107fb15cb7a4d10feee3c9 100644
|
| --- a/mojo/runner/init.cc
|
| +++ b/mojo/runner/init.cc
|
| @@ -38,10 +38,9 @@ void WaitForDebuggerIfNecessary() {
|
| const base::CommandLine* command_line =
|
| base::CommandLine::ForCurrentProcess();
|
| if (command_line->HasSwitch(switches::kWaitForDebugger)) {
|
| - std::vector<std::string> apps_to_debug;
|
| - base::SplitString(
|
| - command_line->GetSwitchValueASCII(switches::kWaitForDebugger), ',',
|
| - &apps_to_debug);
|
| + std::vector<std::string> apps_to_debug = base::SplitString(
|
| + command_line->GetSwitchValueASCII(switches::kWaitForDebugger), ",",
|
| + base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
|
| std::string app = "launcher";
|
| if (command_line->HasSwitch(switches::kChildProcess)) {
|
| app = command_line->GetSwitchValuePath(switches::kChildProcess)
|
|
|