Make scaled_scroll_bounds floaat to avoid truncating intermediate results.
commit992d2c81e7f412fb652de4f4cbd5a8aac5d56cd7
authorwjmaclean@chromium.org <wjmaclean@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 28 Mar 2014 13:21:07 +0000 (28 13:21 +0000)
committerwjmaclean@chromium.org <wjmaclean@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 28 Mar 2014 13:21:07 +0000 (28 13:21 +0000)
treed9b60259c6e4108ebd1171c3a66a910100267580
parent571f91c0e55e987af1a3266766b68275a2275773
Make scaled_scroll_bounds floaat to avoid truncating intermediate results.

Minor refactor to avoid the possibility of accumulating error through
truncation in LayerImpl::MaxScrollOffset().

Review URL: https://codereview.chromium.org/214893005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260113 0039d316-1c4b-4281-b951-d872f2087c98
cc/layers/layer_impl.cc