diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-28 20:55:42 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-28 20:55:42 +0000 |
commit | 68f670fa7231267fbfa9485bdd625f6de0153437 (patch) | |
tree | ed0113f3a830b187cbd67fb23b2e2b5af94a0abc /src/effects | |
parent | 75847199c25121c9989e8dba103ac6002d2132d6 (diff) |
Fix assert
https://codereview.appspot.com/7234050/
git-svn-id: http://skia.googlecode.com/svn/trunk@7428 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/effects')
-rw-r--r-- | src/effects/SkDashPathEffect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkDashPathEffect.cpp b/src/effects/SkDashPathEffect.cpp index be73160fa9..12836284f4 100644 --- a/src/effects/SkDashPathEffect.cpp +++ b/src/effects/SkDashPathEffect.cpp @@ -148,7 +148,7 @@ static bool cull_path(const SkPath& srcPath, const SkStrokeRec& rec, intervalLength); } - SkASSERT(maxX > minX); + SkASSERT(maxX >= minX); if (dx < 0) { SkTSwap(minX, maxX); } |