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/SimplifyFindNext_Test.cpp b/experimental/Intersection/SimplifyFindNext_Test.cpp
index e30908d..c83de89 100644
--- a/experimental/Intersection/SimplifyFindNext_Test.cpp
+++ b/experimental/Intersection/SimplifyFindNext_Test.cpp
@@ -29,13 +29,11 @@
fixOtherTIndex(contourList);
SimplifyFindNextTest::Segment& segment = contours[0].fSegments[0];
SkPoint pts[2];
- double startT = segment.t(endIndex);
- segment.xyAtT(startT, &pts[0]);
+ pts[0] = segment.xyAtT(&segment.span(endIndex));
int nextStart, nextEnd;
SimplifyFindNextTest::Segment* next = segment.findNext(winding,
startIndex, endIndex, nextStart, nextEnd);
- double endT = next->t(nextStart);
- next->xyAtT(endT, &pts[1]);
+ pts[1] = next->xyAtT(&segment.span(nextStart));
SkASSERT(pts[0] == pts[1]);
return next;
}