Index: webkit/port/rendering/RenderThemeWin.cpp |
=================================================================== |
--- webkit/port/rendering/RenderThemeWin.cpp (revision 6142) |
+++ webkit/port/rendering/RenderThemeWin.cpp (working copy) |
@@ -37,9 +37,8 @@ |
#include "SkiaUtils.h" |
#include "ThemeHelperWin.h" |
-#include "base/gfx/native_theme.h" |
-#include "base/gfx/skia_utils.h" |
-#include "base/win_util.h" |
+#include "base/gfx/native_theme.h" // TODO(brettw) fix this dependency. |
+#include "base/win_util.h" // TODO(brettw) fix this dependency. |
namespace { |
@@ -572,7 +571,7 @@ |
gfx::PlatformCanvas* canvas = helper.context()->platformContext()->canvas(); |
HDC hdc = canvas->beginPlatformPaint(); |
- COLORREF clr = gfx::SkColorToCOLORREF(o->style()->backgroundColor().rgb()); |
+ COLORREF clr = o->style()->backgroundColor().rgb(); |
RECT renderRect = helper.rect(); |
gfx::NativeTheme::instance()->PaintTextField(hdc, |