Index: base/command_line.cc |
diff --git a/base/command_line.cc b/base/command_line.cc |
index 3fcf22ac52fc316358eb64173060db22029922b3..95ff64404cfd481bc88982ab0e833d0250db3126 100644 |
--- a/base/command_line.cc |
+++ b/base/command_line.cc |
@@ -394,8 +394,9 @@ void CommandLine::PrependWrapper(const CommandLine::StringType& wrapper) { |
return; |
// The wrapper may have embedded arguments (like "gdb --args"). In this case, |
// we don't pretend to do anything fancy, we just split on spaces. |
- StringVector wrapper_argv; |
- SplitString(wrapper, FILE_PATH_LITERAL(' '), &wrapper_argv); |
+ StringVector wrapper_argv = SplitString( |
+ wrapper, FilePath::StringType(1, ' '), base::TRIM_WHITESPACE, |
+ base::SPLIT_WANT_ALL); |
// Prepend the wrapper and update the switches/arguments |begin_args_|. |
argv_.insert(argv_.begin(), wrapper_argv.begin(), wrapper_argv.end()); |
begin_args_ += wrapper_argv.size(); |