Index: tests/PathOpsDLineTest.cpp |
diff --git a/tests/PathOpsDLineTest.cpp b/tests/PathOpsDLineTest.cpp |
index feab21d4668939b0ec6d7d45c0ced6db739d9563..ea816c5b8fcc6f383571d4d40f77ab20ec013f71 100644 |
--- a/tests/PathOpsDLineTest.cpp |
+++ b/tests/PathOpsDLineTest.cpp |
@@ -47,7 +47,7 @@ static void PathOpsLineUtilitiesTest(skiatest::Reporter* reporter) { |
REPORTER_ASSERT(reporter, line[0] == line2[1] && line[1] == line2[0]); |
line2 = SkDLine::SubDivide(pts, 1, 0); |
REPORTER_ASSERT(reporter, line[0] == line2[1] && line[1] == line2[0]); |
- SkDPoint mid = line.xyAtT(.5); |
+ SkDPoint mid = line.ptAtT(.5); |
REPORTER_ASSERT(reporter, approximately_equal((line[0].fX + line[1].fX) / 2, mid.fX)); |
REPORTER_ASSERT(reporter, approximately_equal((line[0].fY + line[1].fY) / 2, mid.fY)); |
} |