summaryrefslogtreecommitdiffstats
path: root/base/debug/proc_maps_linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/debug/proc_maps_linux.cc')
-rw-r--r--base/debug/proc_maps_linux.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/debug/proc_maps_linux.cc b/base/debug/proc_maps_linux.cc
index 8c8965b..4c1aedf 100644
--- a/base/debug/proc_maps_linux.cc
+++ b/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", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
+ std::vector<std::string> lines;
+ SplitString(input, '\n', &lines);
for (size_t i = 0; i < lines.size(); ++i) {
// Due to splitting on '\n' the last line should be empty.