aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/tests.gyp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-08-05 13:23:13 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-08-05 13:23:13 +0000
commita62efcc1e000e4b0ee4fdb3390cadd56452ce3c1 (patch)
treef5f96d7c561251d5e941ace59498143f26bbb311 /gyp/tests.gyp
parent7e5d18664b2a3a4245a5db0ee6d46a49baaf1575 (diff)
Avoid 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=1478 R=bsalomon@google.com Author: kkinnunen@nvidia.com Review URL: https://chromiumcodereview.appspot.com/22171002 git-svn-id: http://skia.googlecode.com/svn/trunk@10527 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp/tests.gyp')
0 files changed, 0 insertions, 0 deletions