Index: webkit/port/rendering/RenderThemeWin.cpp |
=================================================================== |
--- webkit/port/rendering/RenderThemeWin.cpp (revision 6968) |
+++ webkit/port/rendering/RenderThemeWin.cpp (working copy) |
@@ -366,7 +366,7 @@ |
const ThemeData& themeData = getThemeData(o); |
WebCore::ThemeHelperWin helper(i.context, r); |
- gfx::PlatformCanvas* canvas = helper.context()->platformContext()->canvas(); |
+ skia::PlatformCanvas* canvas = helper.context()->platformContext()->canvas(); |
HDC hdc = canvas->beginPlatformPaint(); |
int state = themeData.m_state; |
@@ -442,7 +442,7 @@ |
// Get the correct theme data for a textfield and paint the menu. |
WebCore::ThemeHelperWin helper(i.context, rect); |
- gfx::PlatformCanvas* canvas = helper.context()->platformContext()->canvas(); |
+ skia::PlatformCanvas* canvas = helper.context()->platformContext()->canvas(); |
HDC hdc = canvas->beginPlatformPaint(); |
RECT renderRect = helper.rect(); |
gfx::NativeTheme::instance()->PaintMenuList(hdc, |
@@ -583,7 +583,7 @@ |
const ThemeData& themeData = getThemeData(o); |
WebCore::ThemeHelperWin helper(i.context, r); |
- gfx::PlatformCanvas* canvas = helper.context()->platformContext()->canvas(); |
+ skia::PlatformCanvas* canvas = helper.context()->platformContext()->canvas(); |
HDC hdc = canvas->beginPlatformPaint(); |
COLORREF clr = skia::SkColorToCOLORREF(o->style()->backgroundColor().rgb()); |