Index: tests/PathOpsQuadLineIntersectionThreadedTest.cpp |
diff --git a/tests/PathOpsQuadLineIntersectionThreadedTest.cpp b/tests/PathOpsQuadLineIntersectionThreadedTest.cpp |
index 7e33b7b374ce52d81d9b80f0f5b8b6875de8b381..a4f87dfea1ed23505595acc6f8c42107e2b8926c 100644 |
--- a/tests/PathOpsQuadLineIntersectionThreadedTest.cpp |
+++ b/tests/PathOpsQuadLineIntersectionThreadedTest.cpp |
@@ -91,7 +91,7 @@ static void testQuadLineIntersectMain(PathOpsThreadState* data) |
SkDPoint xy = quad.ptAtT(tIndex / 4.0); |
for (int h = -2; h <= 2; ++h) { |
for (int v = -2; v <= 2; ++v) { |
- if (h == v && abs(h) != 1) { |
+ if (h == v && SkTAbs(h) != 1) { |
continue; |
} |
double x = xy.fX; |