Index: src/core/SkPathMeasure.cpp |
diff --git a/src/core/SkPathMeasure.cpp b/src/core/SkPathMeasure.cpp |
index af2579fff186e022a2cd15623a140a9aa550b31c..c519f93dceaaeb1e6259a4cf8c92a79a58484460 100644 |
--- a/src/core/SkPathMeasure.cpp |
+++ b/src/core/SkPathMeasure.cpp |
@@ -152,6 +152,9 @@ void SkPathMeasure::buildSegments() { |
bool done = false; |
do { |
switch (fIter.next(pts)) { |
+ case SkPath::kConic_Verb: |
+ SkASSERT(0); |
+ break; |
case SkPath::kMove_Verb: |
ptIndex += 1; |
fPts.append(1, pts); |