Index: src/pathops/SkOpContour.cpp |
diff --git a/src/pathops/SkOpContour.cpp b/src/pathops/SkOpContour.cpp |
index d17b18905beeba9a9c3cb86bc72a1d3901ed7fe6..ab1a37b09a95f68716a76eec5a81d9d0391c9827 100644 |
--- a/src/pathops/SkOpContour.cpp |
+++ b/src/pathops/SkOpContour.cpp |
@@ -22,6 +22,9 @@ void SkOpContour::addCurve(SkPath::Verb verb, const SkPoint pts[4], SkChunkAlloc |
memcpy(ptStorage, pts, sizeof(SkPoint) * 3); |
appendSegment(allocator).addQuad(ptStorage, this); |
} break; |
+ case SkPath::kConic_Verb: { |
+ SkASSERT(0); // the original curve is a cubic, which will never reduce to a conic |
+ } break; |
case SkPath::kCubic_Verb: { |
SkPoint* ptStorage = SkOpTAllocator<SkPoint>::AllocateArray(allocator, 4); |
memcpy(ptStorage, pts, sizeof(SkPoint) * 4); |