Index: tests/PathOpsAngleTest.cpp |
diff --git a/tests/PathOpsAngleTest.cpp b/tests/PathOpsAngleTest.cpp |
index 4c362b62769f6c24787c57c2b89e489fd9147502..f7507a0f97c815c5eb28cc2a49f2d4e9883332e5 100644 |
--- a/tests/PathOpsAngleTest.cpp |
+++ b/tests/PathOpsAngleTest.cpp |
@@ -257,8 +257,8 @@ static void setup(const SortSet* set, const size_t idx, |
if (useIntersectPt) { |
break; |
} |
- start = dLine.xyAtT(set[idx].tStart).asSkPoint(); |
- end = dLine.xyAtT(set[idx].tEnd).asSkPoint(); |
+ start = dLine.ptAtT(set[idx].tStart).asSkPoint(); |
+ end = dLine.ptAtT(set[idx].tEnd).asSkPoint(); |
} break; |
case 3: { |
SkASSERT(ValidPoints(data, 3)); |
@@ -269,8 +269,8 @@ static void setup(const SortSet* set, const size_t idx, |
if (useIntersectPt) { |
break; |
} |
- start = dQuad.xyAtT(set[idx].tStart).asSkPoint(); |
- end = dQuad.xyAtT(set[idx].tEnd).asSkPoint(); |
+ start = dQuad.ptAtT(set[idx].tStart).asSkPoint(); |
+ end = dQuad.ptAtT(set[idx].tEnd).asSkPoint(); |
} break; |
case 4: { |
SkASSERT(ValidPoints(data, 4)); |
@@ -281,8 +281,8 @@ static void setup(const SortSet* set, const size_t idx, |
if (useIntersectPt) { |
break; |
} |
- start = dCubic.xyAtT(set[idx].tStart).asSkPoint(); |
- end = dCubic.xyAtT(set[idx].tEnd).asSkPoint(); |
+ start = dCubic.ptAtT(set[idx].tStart).asSkPoint(); |
+ end = dCubic.ptAtT(set[idx].tEnd).asSkPoint(); |
} break; |
} |
double tStart = set[idx].tStart; |