Fix assert

https://codereview.appspot.com/7234050/



git-svn-id: http://skia.googlecode.com/svn/trunk@7428 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2013-01-28 20:55:42 +00:00
parent 75847199c2
commit 68f670fa72

View File

@ -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);
}