Speculative fix for guest view message filter stale BrowserContext
It appears to be possible for the guest view message filter to outlive the BrowserContext during profile shutdown. We now observe this and clear the filter's pointer to the BrowserContext. We also now destroy the filter on the UI thread for simplicity. The filter does not use weak pointers on the IO thread as a comment previously claimed. Bug: 1129705 Change-Id: If8483653d55c13cde0594e551ee27027060255af Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2419376 Commit-Queue: Kevin McNee <mcnee@chromium.org> Reviewed-by:James MacLean <wjmaclean@chromium.org> Reviewed-by:
Istiaque Ahmed <lazyboy@chromium.org> Reviewed-by:
Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/master@{#809487}
Showing
Please register or sign in to comment