| commit | 68f670fa7231267fbfa9485bdd625f6de0153437 | [log] [tgz] |
|---|---|---|
| author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Jan 28 20:55:42 2013 +0000 |
| committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Jan 28 20:55:42 2013 +0000 |
| tree | ed0113f3a830b187cbd67fb23b2e2b5af94a0abc | |
| parent | 75847199c25121c9989e8dba103ac6002d2132d6 [diff] [blame] |
Fix assert https://codereview.appspot.com/7234050/ git-svn-id: http://skia.googlecode.com/svn/trunk@7428 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/effects/SkDashPathEffect.cpp b/src/effects/SkDashPathEffect.cpp index be73160..1283628 100644 --- a/src/effects/SkDashPathEffect.cpp +++ b/src/effects/SkDashPathEffect.cpp
@@ -148,7 +148,7 @@ intervalLength); } - SkASSERT(maxX > minX); + SkASSERT(maxX >= minX); if (dx < 0) { SkTSwap(minX, maxX); }