shape ops work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@4118 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/Intersection/SimplifyFindTop_Test.cpp b/experimental/Intersection/SimplifyFindTop_Test.cpp
index 9c9548e..2abde36 100644
--- a/experimental/Intersection/SimplifyFindTop_Test.cpp
+++ b/experimental/Intersection/SimplifyFindTop_Test.cpp
@@ -51,7 +51,7 @@
testCommon(contours, index, end);
SkPoint pts[2];
double firstT = topSegment->t(index);
- topSegment->xyAtT(firstT, &pts[0]);
+ pts[0] = topSegment->xyAtT(&topSegment->span(index));
int direction = index < end ? 1 : -1;
do {
index += direction;
@@ -59,7 +59,7 @@
if (nextT == firstT) {
continue;
}
- topSegment->xyAtT(nextT, &pts[1]);
+ pts[1] = topSegment->xyAtT(&topSegment->span(index));
if (pts[0] != pts[1]) {
break;
}