Index: src/pathops/SkOpContour.h |
diff --git a/src/pathops/SkOpContour.h b/src/pathops/SkOpContour.h |
index 495b643fffe7904c967f312279258436d060ff10..be1f59f4bbe2a5fa73f51730c01b646285fe3eea 100644 |
--- a/src/pathops/SkOpContour.h |
+++ b/src/pathops/SkOpContour.h |
@@ -20,12 +20,6 @@ |
reset(); |
} |
- ~SkOpContour() { |
- if (fNext) { |
- fNext->~SkOpContour(); |
- } |
- } |
- |
bool operator<(const SkOpContour& rh) const { |
return fBounds.fTop == rh.fBounds.fTop |
? fBounds.fLeft < rh.fBounds.fLeft |
@@ -67,7 +61,7 @@ |
SkOpContour* appendContour(SkChunkAlloc* allocator) { |
SkOpContour* contour = SkOpTAllocator<SkOpContour>::New(allocator); |
- contour->setNext(NULL); |
+ |
SkOpContour* prev = this; |
SkOpContour* next; |
while ((next = prev->next())) { |
@@ -279,7 +273,7 @@ |
} |
void setNext(SkOpContour* contour) { |
-// SkASSERT(!fNext == !!contour); |
+ SkASSERT(!fNext == !!contour); |
fNext = contour; |
} |