Revert to old rect conversion behavior
With https://chromiumcodereview.appspot.com/
10996037, some rect conversion behaviors changed and regressions were introduced. To ensure that no more appear, this CL reverts the behavior changes introduced by the previous patch.
The old behavior was to convert from RectF to Rect by flooring the position and size. Ideally, this old behavior would not appear in the public API to discourage its use, but the legacy behavior is required in enough places that it seems worse to duplicate the ToFlooredRect function at each call site. Instead, I've named the function ToFlooredRectDeprecated to discourage its use in new code. I've included unit tests to ensure that this function replicates the old behavior.
BUG=None
TEST=RectTest.ToFlooredRect
Review URL: https://chromiumcodereview.appspot.com/
11235017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164383 0039d316-1c4b-4281-b951-d872f2087c98