-
Vladimir Levin authored
This patch changes the approximate scale math to use rect bounds instead of a vector, which yields more accurate results. This means that if a layer is effectively shrunk after the transformation we won't use a larger scale which could have been the case with the scale math. R=chrishtr@chromium.org Bug: 766021 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel Change-Id: I42aea3e7b9900b2a1e5499c8c24d7264b7bd6d3f Reviewed-on: https://chromium-review.googlesource.com/693303 Commit-Queue: vmpstr <vmpstr@chromium.org> Reviewed-by:
Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#506489}
8ec06d20