Use float epsilon instead of double to determine axis alignment

Previous to this CL, double epsilon was used as the zero threshold for
blink::TransformationMatrix::Preserves2dAxisAlignment(), while the
gfx::Transform::Preserves2dAxisAlignment() function used float epsilon
for this purpose. This brings the definitions back together, which
should hopefully fix crbug.com/938007

Bug: 938007
Change-Id: I2d9596c2c58e6a2c86fd1c0bbfee3ec87388bc0d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1512154
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Auto-Submit: Mason Freed <masonfreed@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#639213}
1 file changed