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

Unified Diff: webkit/port/rendering/RenderThemeWin.cpp

Issue 13073: Fix color conversion. When I removed the dependency on skia_utils in this por... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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: webkit/port/rendering/RenderThemeWin.cpp
===================================================================
--- webkit/port/rendering/RenderThemeWin.cpp (revision 6252)
+++ webkit/port/rendering/RenderThemeWin.cpp (working copy)
@@ -571,7 +571,7 @@
gfx::PlatformCanvas* canvas = helper.context()->platformContext()->canvas();
HDC hdc = canvas->beginPlatformPaint();
- COLORREF clr = o->style()->backgroundColor().rgb();
+ COLORREF clr = o->style()->backgroundColor().rgb() & 0xFFFFFF;
RECT renderRect = helper.rect();
gfx::NativeTheme::instance()->PaintTextField(hdc,
« 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