diff options
Diffstat (limited to 'tests/PathOpsTestCommon.cpp')
-rw-r--r-- | tests/PathOpsTestCommon.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PathOpsTestCommon.cpp b/tests/PathOpsTestCommon.cpp index dd9b347618..f89598ad47 100644 --- a/tests/PathOpsTestCommon.cpp +++ b/tests/PathOpsTestCommon.cpp @@ -68,7 +68,7 @@ bool ValidPoint(const SkDPoint& pt) { if (SkDoubleIsNaN(pt.fX)) { return false; } - return !SkDoubleIsNaN(pt.fY); + return !SkDoubleIsNaN(pt.fY); } bool ValidPoints(const SkPoint* pts, int count) { @@ -105,5 +105,5 @@ bool ValidVector(const SkDVector& v) { if (SkDoubleIsNaN(v.fX)) { return false; } - return !SkDoubleIsNaN(v.fY); + return !SkDoubleIsNaN(v.fY); } |