commit | 39abd3ff5d3933cdb0f75f4fa1598649721af9e5 | [log] [tgz] |
---|---|---|
author | Dave Tapuska <dtapuska@chromium.org> | Wed Sep 11 22:17:22 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Sep 11 22:17:22 2019 |
tree | 2266258e5695f0739b17a4bb0e1e5ba70cc90955 | |
parent | 6a144ecb5d0da10ef29442d141bc0a9fb90feb81 [diff] |
Fix crash in PauseContext/UnpauseContext. It is possible that the frame becomes detached from the document after dispatching the event. This is the only way the FrameScheduler could be null. I previously checked it in SetLifecycleState in change https://chromium.googlesource.com/chromium/src.git/+/42b61856cfd1b63bed1a1cae45cac6b7e41e9e0f and that seemed to decrease the number of crashes, but they still seem to exist. These additional checks should cover those situations. BUG=994442 Change-Id: I59ad0e4f4e047f4548c72ad103691a260290626e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1798888 Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#695813}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .