[Android] Round instead if truncate for selection coordinates
Composited selection coordinates are in floating pointer DIPs. However, current APIs for manipulating the selection are all in integral coordinates. This leads to cases where an adjusted selection can chaotically hop across selection region boundaries. Until all platforms adopt unified selection and we transition the APIs to use floating point coordinates, use rounded coordinates when manipulating the selection from the browser. BUG=489852 Review URL: https://codereview.chromium.org/1139043004 Cr-Commit-Position: refs/heads/master@{#330640}
Showing
Please register or sign in to comment