Index: src/core/SkStroke.cpp |
diff --git a/src/core/SkStroke.cpp b/src/core/SkStroke.cpp |
index 1a44a3a19f6654aaf8cf093e492df4db8ad5d6f7..ba7b7d3c8e9d2cb00e76814948b75f21559fe1c7 100644 |
--- a/src/core/SkStroke.cpp |
+++ b/src/core/SkStroke.cpp |
@@ -1412,11 +1412,11 @@ void SkPathStroker::cubicTo(const SkPoint& pt1, const SkPoint& pt2, |
SkQuadConstruct quadPts; |
this->init(kOuter_StrokeType, &quadPts, lastT, nextT); |
if (!this->cubicStroke(cubic, &quadPts)) { |
reed1
2015/02/23 15:44:12
Can we add a brief comment as to why this might oc
caryclark
2015/02/23 17:10:47
Done.
|
- return; |
+ break; |
} |
this->init(kInner_StrokeType, &quadPts, lastT, nextT); |
if (!this->cubicStroke(cubic, &quadPts)) { |
- return; |
+ break; |
} |
lastT = nextT; |
} |