Stop creating VisiblePosition in ColdModeSpellCheckRequester
The class creates VisiblePosition to be passed to EndOfSentence(), but EndOfSentence() doesn't require input position to be canonical. ColdModeSpellCheckRequester doesn't require the EndOfSentence() output to be canonical, either. Hence, this patch changes ColdModeSpellCheckRequester to use the non- canonical variant of EndOfSentence(). Bug: 657237 Change-Id: I96df36bb49c150f12ba037729221b8bcdaa9c09a Reviewed-on: https://chromium-review.googlesource.com/c/1298482Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#603139}
Showing
Please register or sign in to comment