Index: src/utils/SkDashPathPriv.h |
diff --git a/src/utils/SkDashPathPriv.h b/src/utils/SkDashPathPriv.h |
index 115128131f6e810c2f77b8aaeac7dcc97f939655..752b59dbea9b4426e4d0891ceb9a116558720d46 100644 |
--- a/src/utils/SkDashPathPriv.h |
+++ b/src/utils/SkDashPathPriv.h |
@@ -26,6 +26,8 @@ namespace SkDashPath { |
bool FilterDashPath(SkPath* dst, const SkPath& src, SkStrokeRec*, const SkRect*, |
const SkPathEffect::DashInfo& info); |
+ const SkScalar kMaxDashCount = 1000000; |
+ |
/** See comments for InternalFilter */ |
enum class StrokeRecApplication { |
kDisallow, |