Index: src/effects/SkDashPathEffect.cpp |
diff --git a/src/effects/SkDashPathEffect.cpp b/src/effects/SkDashPathEffect.cpp |
index 8be5f1d086734deafa587d9ba76207e4b8f0165d..58706c5b78f52d55bbead6d4f7a8f3634bd838c6 100644 |
--- a/src/effects/SkDashPathEffect.cpp |
+++ b/src/effects/SkDashPathEffect.cpp |
@@ -530,12 +530,10 @@ bool SkDashPathEffect::asPoints(PointData* results, |
} |
SkFlattenable::Factory SkDashPathEffect::getFactory() const { |
- return fInitialDashLength < 0 ? NULL : CreateProc; |
+ return CreateProc; |
} |
void SkDashPathEffect::flatten(SkWriteBuffer& buffer) const { |
- SkASSERT(fInitialDashLength >= 0); |
- |
this->INHERITED::flatten(buffer); |
buffer.writeInt(fInitialDashIndex); |
buffer.writeScalar(fInitialDashLength); |