| commit | dc877a7734151a53858d9f5a777d1aeb32290ffc | [log] [tgz] |
|---|---|---|
| author | scroggo <scroggo@google.com> | Wed Dec 09 12:33:21 2015 -0800 |
| committer | Commit bot <commit-bot@chromium.org> | Wed Dec 09 12:33:21 2015 -0800 |
| tree | e9e2758a7dcde0951024e8e814c5c6e63c5827b5 | |
| parent | 39cbd2b30c621fb94921d59b9fd1d5206921e367 [diff] |
Remove no-op code in SkAlphaRuns::add
The old code says
runs += x + 1;
alpha += x + 1;
x = 0;
lastAlpha += x; // we don't want the +1
The last line does nothing. Remove this unnecessary line.
BUG=skia:401
Review URL: https://codereview.chromium.org/1506253002