| Index: base/process/process_iterator_openbsd.cc
|
| diff --git a/base/process/process_iterator_openbsd.cc b/base/process/process_iterator_openbsd.cc
|
| index 7c44eb118c00e938e070caa5ee91698937293e19..f864f58da4f88e885ab2f56a4209a952527fd264 100644
|
| --- a/base/process/process_iterator_openbsd.cc
|
| +++ b/base/process/process_iterator_openbsd.cc
|
| @@ -8,6 +8,7 @@
|
| #include <sys/sysctl.h>
|
|
|
| #include "base/logging.h"
|
| +#include "base/strings/string_split.h"
|
| #include "base/strings/string_util.h"
|
|
|
| namespace base {
|
| @@ -92,7 +93,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
|
|
|