Index: base/process/internal_linux.cc |
diff --git a/base/process/internal_linux.cc b/base/process/internal_linux.cc |
index 4f3fcaccbfb654821266c1bce7143870844e49d5..e6c2119c141174356869185773416cb6a3ae6c86 100644 |
--- a/base/process/internal_linux.cc |
+++ b/base/process/internal_linux.cc |
@@ -97,8 +97,9 @@ bool ParseProcStats(const std::string& stats_data, |
close_parens_idx - (open_parens_idx + 1))); |
// Split the rest. |
- std::vector<std::string> other_stats; |
- SplitString(stats_data.substr(close_parens_idx + 2), ' ', &other_stats); |
+ std::vector<std::string> other_stats = SplitString( |
+ stats_data.substr(close_parens_idx + 2), " ", |
+ base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
for (size_t i = 0; i < other_stats.size(); ++i) |
proc_stats->push_back(other_stats[i]); |
return true; |