| 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..b0d52b8e791c2c818f0149f324a65512d5467bfb 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
|
|
|