Index: chrome/browser/views/options/fonts_page_view.cc |
=================================================================== |
--- chrome/browser/views/options/fonts_page_view.cc (revision 50789) |
+++ chrome/browser/views/options/fonts_page_view.cc (working copy) |
@@ -21,7 +21,7 @@ |
#include "chrome/browser/profile.h" |
#include "chrome/browser/shell_dialogs.h" |
#include "chrome/common/pref_names.h" |
-#include "gfx/canvas_skia.h" |
+#include "gfx/canvas.h" |
#include "gfx/font.h" |
#include "gfx/native_theme_win.h" |
#include "grit/generated_resources.h" |
@@ -96,12 +96,12 @@ |
} |
void FontDisplayView::Paint(gfx::Canvas* canvas) { |
- HDC dc = canvas->AsCanvasSkia()->beginPlatformPaint(); |
+ HDC dc = canvas->beginPlatformPaint(); |
RECT rect = { 0, 0, width(), height() }; |
gfx::NativeTheme::instance()->PaintTextField( |
dc, EP_BACKGROUND, EBS_NORMAL, 0, &rect, ::GetSysColor(COLOR_3DFACE), |
true, true); |
- canvas->AsCanvasSkia()->endPlatformPaint(); |
+ canvas->endPlatformPaint(); |
} |
void FontDisplayView::Layout() { |