DescriptionClear input event router entries for destroyed RWHVGuests
This is a speculative fix for crashes observed under the
--isolate-extensions trial. A RenderWidgetHostViewGuest currently only
clears its RenderWidgetHostInputEventRouter entry when the BrowserPlugin
is detached. However, there are other paths for destruction that cause
detachment, which might enable it to receive input events after
DestroyGuestView() has been called, potentially leading to the
observed null pointer crashes. This should be avoided by calling
UnregisterSurfaceNamespaceId() before clearing the host_ pointer.
BUG=571092
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/329450ec62f0c6d67a3f842feb17a516721f04d1
Cr-Commit-Position: refs/heads/master@{#371924}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 12 (6 generated)
|