Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(470)

Unified Diff: include/effects/SkDashPathEffect.h

Issue 1805963002: allow one zero length dash (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: use explicit bad params flag Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/effects/SkDashPathEffect.h
diff --git a/include/effects/SkDashPathEffect.h b/include/effects/SkDashPathEffect.h
index 08b0a4693f7409b853439c61d28405aff832b5b3..4a193b8c931b2f14782dfafef7ea20a1353fec9f 100644
--- a/include/effects/SkDashPathEffect.h
+++ b/include/effects/SkDashPathEffect.h
@@ -68,6 +68,7 @@ private:
SkScalar fInitialDashLength;
int32_t fInitialDashIndex;
SkScalar fIntervalLength;
+ bool fValidParameters;
typedef SkPathEffect INHERITED;
};
« no previous file with comments | « gm/arcto.cpp ('k') | src/effects/SkDashPathEffect.cpp » ('j') | src/utils/SkDashPath.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698