| Index: base/process/process_linux.cc
|
| diff --git a/base/process/process_linux.cc b/base/process/process_linux.cc
|
| index ce3dca1351872c44df97ceb274077bf3adb9083e..78000db9f21336ceebb1d3e3984c58bcd88e68dc 100644
|
| --- a/base/process/process_linux.cc
|
| +++ b/base/process/process_linux.cc
|
| @@ -140,8 +140,8 @@ bool IsProcessBackgroundedCGroup(const StringPiece& cgroup_contents) {
|
| // hierarchy there's an entry in the file. We look for a control group
|
| // named "/chrome_renderers/background" to determine if the process is
|
| // backgrounded. crbug.com/548818.
|
| - std::vector<StringPiece> lines =
|
| - SplitStringPiece(cgroup_contents, "\n", TRIM_WHITESPACE, SPLIT_WANT_ALL);
|
| + std::vector<StringPiece> lines = SplitStringPiece(
|
| + cgroup_contents, "\n", TRIM_WHITESPACE, SPLIT_WANT_NONEMPTY);
|
| for (const auto& line : lines) {
|
| std::vector<StringPiece> fields =
|
| SplitStringPiece(line, ":", TRIM_WHITESPACE, SPLIT_WANT_ALL);
|
|
|