Confirm last_mouse_move_target_ still valid before context menu.
Since the context menu can be dispatched an arbitrary time after the mouse event that sets last_mouse_move_target_, we should verify the pointer is still valid by making sure it's still in the owner's map. Bug: 856976 Change-Id: I928935b74d6fa99ba7769fa170a9c817f98d5a46 Reviewed-on: https://chromium-review.googlesource.com/1116862Reviewed-by:Ken Buchanan <kenrb@chromium.org> Commit-Queue: James MacLean <wjmaclean@chromium.org> Cr-Commit-Position: refs/heads/master@{#570749}
Showing
Please register or sign in to comment