chromeos: Avoid crash on thaw failure if freezing failed.
Avoid an "Unable to thaw renderers." LOG(FATAL) in
RendererFreezer if freezing the renderers also failed
earlier. This is a workaround for unexplained EBADF and
ENOENT errors seen when writing to cgroups.
BUG=chromium:661310
TEST=manual: log in and chmod freezer.state in
/sys/fs/cgroup/freezer/chrome_renderers/to_be_frozen
to 444; suspend and resume and check that chrome
doesn't abort
Review-Url: https://codereview.chromium.org/2575933002
Cr-Commit-Position: refs/heads/master@{#438625}
Showing
Please register or sign in to comment