Remove some implicit Point to PointF conversions, add helpers.
This adds gfx::ScaleTo{Floored,Ceiled,Rounded}Point() helpers
similar to those that exist for Rect and Size. It uses those
helpers to scale integer points to integer points, and avoid
implicit conversions to PointFs in the calling code.
Also removes some implicit conversions to PointF with
ui::SelectionBounds.
R=sadrul, sky
BUG=342848
Review URL: https://codereview.chromium.org/1417023002
Cr-Commit-Position: refs/heads/master@{#355451}
CrOS-Libchrome-Original-Commit: 34a8990806a42ee9356ce5b2f932057169c03a90
3 files changed