| Index: tests/Matrix44Test.cpp
|
| diff --git a/tests/Matrix44Test.cpp b/tests/Matrix44Test.cpp
|
| index afd2762a7acd624afdb56d068101c193386fa62d..8fd84d858c5d0c1d6bd8baafeefb89a0777a8a40 100644
|
| --- a/tests/Matrix44Test.cpp
|
| +++ b/tests/Matrix44Test.cpp
|
| @@ -24,14 +24,7 @@ static bool nearly_equal_mscalar(SkMScalar a, SkMScalar b) {
|
| }
|
|
|
| static bool nearly_equal_scalar(SkScalar a, SkScalar b) {
|
| - // Note that we get more compounded error for multiple operations when
|
| - // SK_SCALAR_IS_FIXED.
|
| -#ifdef SK_SCALAR_IS_FLOAT
|
| const SkScalar tolerance = SK_Scalar1 / 200000;
|
| -#else
|
| - const SkScalar tolerance = SK_Scalar1 / 1024;
|
| -#endif
|
| -
|
| return SkScalarAbs(a - b) <= tolerance;
|
| }
|
|
|
|
|