aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-28 20:55:42 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-28 20:55:42 +0000
commit68f670fa7231267fbfa9485bdd625f6de0153437 (patch)
treeed0113f3a830b187cbd67fb23b2e2b5af94a0abc /src/effects
parent75847199c25121c9989e8dba103ac6002d2132d6 (diff)
Fix assert
Diffstat (limited to 'src/effects')
-rw-r--r--src/effects/SkDashPathEffect.cpp2
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);
}