diff options
author | 2015-10-16 10:54:12 -0700 | |
---|---|---|
committer | 2015-10-16 10:54:12 -0700 | |
commit | 80803ff615e4293e8af2dc5d094a1f4fa81ec396 (patch) | |
tree | 55fd5de502dc7ac897ee6438dd77134115a10048 /src/sfnt/SkPreprocessorSeq.h | |
parent | 2e2ea38bb77d42bab292919de5d80286cc354782 (diff) |
Fix SkSwizzler bug
Now, that we are subsetting, fX0 is not necessarily less than
fSrcWidth (since fSrcWidth is really the subset width).
Ex: We may want a 10 pixel subset starting twenty pixels from the
left edge. In that case, fX0=20 and fSrcWidth=10.
Let's rename the width as fSubsetWidth to avoid confusion
and remove the check.
BUG=skia:
Review URL: https://codereview.chromium.org/1407603003
Diffstat (limited to 'src/sfnt/SkPreprocessorSeq.h')
0 files changed, 0 insertions, 0 deletions