diff options
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/port/rendering/RenderThemeWin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/port/rendering/RenderThemeWin.cpp b/webkit/port/rendering/RenderThemeWin.cpp index 18d841c..48a8947 100644 --- a/webkit/port/rendering/RenderThemeWin.cpp +++ b/webkit/port/rendering/RenderThemeWin.cpp @@ -571,7 +571,7 @@ bool RenderThemeWin::paintTextFieldInternal(RenderObject* o, 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, |