DescriptionClear the selection and insertion flags only upon getting the selection event
The mHasSelection and mHasInsertion flags are being cleared even before the
selection events are received and hence the popup is never hidden.
dismissTextHandles already triggers the selection events to clear the handles.
Hence we dont need to clear them outside the selection event handler.
BUG=520060
Committed: https://crrev.com/0f7316c4d8eeb601502549f7890aa8f34a873875
Cr-Commit-Position: refs/heads/master@{#343212}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Added more test code #
Messages
Total messages: 10 (3 generated)
|