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

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

Issue 14110: Move the "platform" wrappers in skia/ext to the skia namespace. (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
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());
« no previous file with comments | « webkit/port/platform/graphics/skia/PlatformContextSkia.cpp ('k') | webkit/tools/test_shell/mac/webwidget_host.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698