Bail out of Browser::ScheduleUIUpdate() if the WebContents is stale.
WebContents are not immediate aware they're being deleted, so can still send updates for a short window between removal from the tabstrip and deletion. We need to not process updates on stale WebContents objects, however, and in fact that can cause a crash in TabStripModel. After some discussion (see attached bug) we have decided to apply this spot fix and create a longer-term issue to address the underlying cause (see crbug.com/1007379). Bug: 993739 Change-Id: Ia16a065edc7bba19f6b1314037e464a43e931c51 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1774959 Commit-Queue: Dana Fried <dfried@chromium.org> Reviewed-by:Peter Boström <pbos@chromium.org> Auto-Submit: Dana Fried <dfried@chromium.org> Cr-Commit-Position: refs/heads/master@{#699578}
Showing
Please register or sign in to comment