| Index: base/process/process_iterator_mac.cc
|
| diff --git a/base/process/process_iterator_mac.cc b/base/process/process_iterator_mac.cc
|
| index e35c2ae19ba23882657367d7c063e2ee01b03cc7..9b33a0a8e4036b598d70d8293cc9c5162a3642c6 100644
|
| --- a/base/process/process_iterator_mac.cc
|
| +++ b/base/process/process_iterator_mac.cc
|
| @@ -10,6 +10,7 @@
|
| #include <unistd.h>
|
|
|
| #include "base/logging.h"
|
| +#include "base/strings/string_split.h"
|
| #include "base/strings/string_util.h"
|
|
|
| namespace base {
|
| @@ -99,7 +100,8 @@ bool ProcessIterator::CheckForNextProcess() {
|
| // |entry_.cmd_line_args_|.
|
| std::string delimiters;
|
| delimiters.push_back('\0');
|
| - Tokenize(data, delimiters, &entry_.cmd_line_args_);
|
| + entry_.cmd_line_args_ = SplitString(data, delimiters,
|
| + KEEP_WHITESPACE, SPLIT_WANT_NONEMPTY);
|
|
|
| // |data| starts with the full executable path followed by a null character.
|
| // We search for the first instance of '\0' and extract everything before it
|
|
|