Index: src/utils/SkParsePath.cpp |
diff --git a/src/utils/SkParsePath.cpp b/src/utils/SkParsePath.cpp |
index 8c7a4d0df875cb7e74f529acab4ca2a10f198475..4c9923f49fb61b58370f8b092bf281691467bfdb 100644 |
--- a/src/utils/SkParsePath.cpp |
+++ b/src/utils/SkParsePath.cpp |
@@ -221,7 +221,10 @@ void SkParsePath::ToSVGString(const SkPath& path, SkString* str) { |
for (;;) { |
switch (iter.next(pts, false)) { |
- case SkPath::kMove_Verb: |
+ case SkPath::kConic_Verb: |
+ SkASSERT(0); |
+ break; |
+ case SkPath::kMove_Verb: |
append_scalars(&stream, 'M', &pts[0].fX, 2); |
break; |
case SkPath::kLine_Verb: |