Index: src/pathops/SkOpContour.cpp |
diff --git a/src/pathops/SkOpContour.cpp b/src/pathops/SkOpContour.cpp |
index ce9439ac2663594f695d749818708c02b0abe6f9..107c83169b73b419f0dab2e048d91fa15f877b9f 100644 |
--- a/src/pathops/SkOpContour.cpp |
+++ b/src/pathops/SkOpContour.cpp |
@@ -69,7 +69,7 @@ void SkOpContour::toPath(SkPathWriter* path) const { |
path->close(); |
} |
-void SkOpContour::topSortableSegment(const SkPoint& topLeft, SkPoint* bestXY, |
+void SkOpContour::topSortableSegment(const SkDPoint& topLeft, SkDPoint* bestXY, |
SkOpSegment** topStart) { |
int segmentCount = fSortedSegments.count(); |
SkASSERT(segmentCount > 0); |
@@ -84,7 +84,7 @@ void SkOpContour::topSortableSegment(const SkPoint& topLeft, SkPoint* bestXY, |
continue; |
} |
fDone = false; |
- SkPoint testXY = testSegment->activeLeftTop(NULL); |
+ SkDPoint testXY = testSegment->activeLeftTop(NULL); |
if (*topStart) { |
if (testXY.fY < topLeft.fY) { |
continue; |