aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsQuadLineIntersectionThreadedTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PathOpsQuadLineIntersectionThreadedTest.cpp')
-rw-r--r--tests/PathOpsQuadLineIntersectionThreadedTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PathOpsQuadLineIntersectionThreadedTest.cpp b/tests/PathOpsQuadLineIntersectionThreadedTest.cpp
index 7e33b7b374..a4f87dfea1 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;