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

Unified Diff: ui/gfx/canvas_skia_win.cc

Issue 6990053: Fix glitch in title fading code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/canvas_skia_win.cc
===================================================================
--- ui/gfx/canvas_skia_win.cc (revision 85937)
+++ ui/gfx/canvas_skia_win.cc (working copy)
@@ -214,7 +214,7 @@
// on a white background the luminosity must be inverted.
BYTE alpha = 0xFF - color_utils::GetLuminanceForColor(color);
*bmp.getAddr32(x, y) = SkPreMultiplyColor(
- SkColorSetARGB(alpha, text_color_r, text_color_b, text_color_g));
+ SkColorSetARGB(alpha, text_color_r, text_color_g, text_color_b));
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698