DescriptionAvoid counting verbs twice in SkPath::isEmpty()
Remove redundant call to SkPathRef::countVerbs. The intention was
probably to count points. Instead, assert that all two-verb paths
begin with a 'move' and that if the second verb is a 'line', then the
point count is indeed two.
BUG=skia:1478
Committed: http://code.google.com/p/skia/source/detail?r=10527
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|