Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(528)

Issue 22171002: Avoid counting verbs twice in SkPath::isEmpty() (Closed)

Created:
7 years, 4 months ago by Kimmo Kinnunen
Modified:
7 years, 4 months ago
Reviewers:
bsalomon
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

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=skia:1478 Committed: http://code.google.com/p/skia/source/detail?r=10527

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M src/core/SkPath.cpp View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Kimmo Kinnunen
r? Brian due to 'svn blame'
7 years, 4 months ago (2013-08-05 10:19:07 UTC) #1
bsalomon
lgtm
7 years, 4 months ago (2013-08-05 13:15:54 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/kkinnunen@nvidia.com/22171002/1
7 years, 4 months ago (2013-08-05 13:16:05 UTC) #3
commit-bot: I haz the power
Change committed as 10527
7 years, 4 months ago (2013-08-05 13:23:16 UTC) #4
rmistry
7 years, 4 months ago (2013-08-05 13:32:54 UTC) #5
Message was sent while issue was closed.
On 2013/08/05 13:23:16, I haz the power (commit-bot) wrote:
> Change committed as 10527

FYI: Using "BUG=skia:1478" instead of "BUG=1478" will point to the skia bug.

Powered by Google App Engine
This is Rietveld 408576698