platform2: Uprev to libchrome r369476
libchrome is being updated to a new version and a number of APIs
have changed. Updating the clients using those APIs...
BUG=b/26772882
TEST=./build_packages --board={link|whirlwind}
CQ-DEPEND=CL:323378
Change-Id: I054fa433792d914b7bf0eb43cc9decffa288de51
Reviewed-on: https://chromium-review.googlesource.com/323317
Commit-Ready: Alex Vakulenko <avakulenko@google.com>
Tested-by: Alex Vakulenko <avakulenko@google.com>
Reviewed-by: Alex Vakulenko <avakulenko@google.com>
diff --git a/debugd/src/process_with_output.cc b/debugd/src/process_with_output.cc
index 7fcaf2d..fb5453f 100644
--- a/debugd/src/process_with_output.cc
+++ b/debugd/src/process_with_output.cc
@@ -76,7 +76,8 @@
if (!base::ReadFileToString(outfile_path_, &contents))
return false;
- base::SplitString(contents, '\n', output);
+ *output = base::SplitString(contents, "\n", base::KEEP_WHITESPACE,
+ base::SPLIT_WANT_ALL);
return true;
}