Chromium Code Reviews
DescriptionClear last MouseMove root view in RWHIER if that view gets destroyed
Cluster-fuzz has reported some difficult-to-reproduce crashes in the
MouseEnter/Leave generation code in RenderWidgetHostInputEventRouter,
and there are some very sparse crash reports appearing for that also.
These might be caused by race conditions from RenderWidgetHostView
tree modifications that get slightly out of sync from the Surface
state that is used for hit testing (Surfaces aren't invalidated until
RWHVs are deleted, which for some RWHVs is not immediate upon them
having Destroy() called).
This CL speculatively tries to address the crashes by having
SendMouseEnterOrLeaveEvents abort when it discovers the RWHV tree out
of sync, and also clearing last_mouse_move_root_view_ when that
gets destroyed.
BUG=647821, 652209
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/83e4f9ac895d5b42a4b114f3ef964676a40476ff
Cr-Commit-Position: refs/heads/master@{#424533}
Patch Set 1 #Patch Set 2 : Try re-enabling tests #
Total comments: 2
Patch Set 3 : Revised bad cast guard #Patch Set 4 : Not re-enabling test #
Messages
Total messages: 23 (15 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||