summaryrefslogtreecommitdiff
path: root/chromium/base/debug/proc_maps_linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/base/debug/proc_maps_linux.cc')
-rw-r--r--chromium/base/debug/proc_maps_linux.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/base/debug/proc_maps_linux.cc b/chromium/base/debug/proc_maps_linux.cc
index 4c1aedf0032..8c8965b8f15 100644
--- a/chromium/base/debug/proc_maps_linux.cc
+++ b/chromium/base/debug/proc_maps_linux.cc
@@ -96,8 +96,8 @@ bool ParseProcMaps(const std::string& input,
// This isn't async safe nor terribly efficient, but it doesn't need to be at
// this point in time.
- std::vector<std::string> lines;
- SplitString(input, '\n', &lines);
+ std::vector<std::string> lines = SplitString(
+ input, "\n", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
for (size_t i = 0; i < lines.size(); ++i) {
// Due to splitting on '\n' the last line should be empty.