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, |