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

Issue 214054: Eliminate a bunch of color conversions. I was going to try and clean up the ... (Closed)

Created:
11 years, 3 months ago by Peter Kasting
Modified:
9 years, 7 months ago
Reviewers:
brettw
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Eliminate a bunch of color conversions. I was going to try and clean up the code for these but discovered to my surprise that no one actually uses them. Also clean up a few other things, like my AlphaBlend() function using hex alpha values where everyone else uses decimal, or unnecessary global qualifiers, or needlessly long code. I avoided changing postincrement to preincrement :D BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26856

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -197 lines) Patch
M app/gfx/color_utils.h View 1 chunk +0 lines, -26 lines 0 comments Download
M app/gfx/color_utils.cc View 5 chunks +13 lines, -171 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Peter Kasting
11 years, 3 months ago (2009-09-22 17:37:01 UTC) #1
brettw
11 years, 3 months ago (2009-09-22 20:35:11 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698