Fix an issue when inserting emoji into address bar.
Composition is started and ended in same edit session during emoji insertion. Selection should also be set during |SetCompositionText| in the above scenario so that |TextInputClient| such as |TextField| can have updated cached selection. Bug: 1111523 Change-Id: Ie2b1dc1365a1a778ea9cc5367f82bd2086cc0b94 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2331291Reviewed-by:Yohei Yukawa <yukawa@chromium.org> Reviewed-by:
Siye Liu <siliu@microsoft.com> Commit-Queue: Siye Liu <siliu@microsoft.com> Cr-Commit-Position: refs/heads/master@{#795055}
Showing
Please register or sign in to comment