commit | 0e998e395bc349b41af06c4bcb8ec11b39f1fefc | [log] [tgz] |
---|---|---|
author | Sidney San Martín <sdy@chromium.org> | Sat Dec 01 01:03:40 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Dec 01 01:03:40 2018 |
tree | 0570e19e5932be3725807126d31cba7f083860d2 | |
parent | 09bb5f10ed625caa1f375374ff0004b6cf2c906f [diff] |
[Mac] Validate the selection range before using it for text suggestions. It looks like Blink can report an invalid selection range back to the browser. This change treats invalid ranges like the empty string for the purpose of generating suggestions, and adds a DCHECK for this condition. Bug: 893038 Change-Id: I2afa5065d7eeebb6cc61030277f86b488a69388b Reviewed-on: https://chromium-review.googlesource.com/c/1351530 Commit-Queue: Sidney San Martín <sdy@chromium.org> Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#612882}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .