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

Issue 1506253002: Remove no-op code in SkAlphaRuns::add (Closed)

Created:
5 years ago by scroggo
Modified:
5 years ago
Reviewers:
mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

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 Committed: https://skia.googlesource.com/skia/+/dc877a7734151a53858d9f5a777d1aeb32290ffc

Patch Set 1 #

Patch Set 2 : Delete the meaningless line instead #

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

Messages

Total messages: 24 (8 generated)
scroggo
5 years ago (2015-12-08 22:44:46 UTC) #2
reed1
how (many) do the GM images change?
5 years ago (2015-12-09 15:58:05 UTC) #3
scroggo
On 2015/12/09 15:58:05, reed1 wrote: > how (many) do the GM images change? I only ...
5 years ago (2015-12-09 16:27:37 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1506253002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1506253002/1
5 years ago (2015-12-09 16:41:48 UTC) #6
mtklein
On 2015/12/09 at 16:27:37, scroggo wrote: > On 2015/12/09 15:58:05, reed1 wrote: > > how ...
5 years ago (2015-12-09 16:42:34 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-09 16:46:02 UTC) #9
mtklein
The link to see GM diffs is: https://gold.skia.org/search2?issue=1506253002&unt=true&query=source_type%3Dgm&master=false
5 years ago (2015-12-09 16:48:57 UTC) #10
scroggo
On 2015/12/09 16:48:57, mtklein wrote: > The link to see GM diffs is: > > ...
5 years ago (2015-12-09 16:53:29 UTC) #11
reed1
Given that nothing changed (afawk), and we don't understand the change enough to want it ...
5 years ago (2015-12-09 17:10:17 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1506253002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1506253002/20001
5 years ago (2015-12-09 18:28:29 UTC) #14
scroggo
On 2015/12/09 17:10:17, reed1 wrote: > Given that nothing changed (afawk), We could write some ...
5 years ago (2015-12-09 19:02:07 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-09 19:36:55 UTC) #18
scroggo
On 2015/12/09 19:36:55, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
5 years ago (2015-12-09 19:56:56 UTC) #19
reed1
lgtm
5 years ago (2015-12-09 20:02:22 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1506253002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1506253002/20001
5 years ago (2015-12-09 20:32:31 UTC) #22
commit-bot: I haz the power
5 years ago (2015-12-09 20:33:24 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/dc877a7734151a53858d9f5a777d1aeb32290ffc

Powered by Google App Engine
This is Rietveld 408576698