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

Issue 99423004: Fix for SkPathRef::CreateTransformedCopy bug (Closed)

Created:
7 years ago by robertphillips
Modified:
7 years ago
Reviewers:
bsalomon, djsollen
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Even when the dest is unique we need to ensure that we have enough space for mapPoints to land its results. When src and dst are the same we have to be careful not to delete the data we want to transform (in resetToSize). This CL includes changes to the path test that would've caught this case.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -35 lines) Patch
M src/core/SkPathRef.cpp View 1 chunk +8 lines, -2 lines 0 comments Download
M tests/PathTest.cpp View 3 chunks +76 lines, -33 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
robertphillips
7 years ago (2013-12-03 16:29:55 UTC) #1
bsalomon
lgtm
7 years ago (2013-12-03 16:46:45 UTC) #2
robertphillips
committed as r12464
7 years ago (2013-12-03 17:15:53 UTC) #3
djsollen
7 years ago (2013-12-03 17:25:49 UTC) #4
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698