Fix crash in Hibernate
As the ResourceProvider::snapshot() may return a nullptr, the subsequent calls cause chrome to crash. Add checks before calling snapshot(). Bug: 991385 Change-Id: Ia00189a991afdbe8aff25d037cf02d78af376989 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1760276 Commit-Queue: Yi Xu <yiyix@chromium.org> Reviewed-by:Fernando Serboncini <fserb@chromium.org> Cr-Commit-Position: refs/heads/master@{#689146}
Showing
Please register or sign in to comment