Reset hover dirty flag before RecomputeMouseHoverState function
MouseEventManager::RecomputeMouseHoverState may change the hover dirty flag because it sends mouse boundary events such as mouseover, mouseout, mouseenter and mouseleave, which may change the layout. We need to reset |hover_state_dirty_| before we call RecomputeMouseHoverState, so that we make sure that the hover is updated for all the layout change. Bug: 877132 Change-Id: Id6ec90e8f6ced06a68dffa1a31cd34b92294af37 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1689959 Commit-Queue: Lan Wei <lanwei@chromium.org> Reviewed-by:David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#676033}
Showing
Please register or sign in to comment