diff options
Diffstat (limited to 'base/gfx')
-rw-r--r-- | base/gfx/native_theme.cc | 4 | ||||
-rw-r--r-- | base/gfx/native_theme.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/base/gfx/native_theme.cc b/base/gfx/native_theme.cc index c2d7682..75bf67b 100644 --- a/base/gfx/native_theme.cc +++ b/base/gfx/native_theme.cc @@ -330,7 +330,7 @@ HRESULT NativeTheme::PaintScrollbarTrack( int classic_state, RECT* target_rect, RECT* align_rect, - skia::PlatformCanvasWin* canvas) const { + skia::PlatformCanvas* canvas) const { HANDLE handle = GetThemeHandle(SCROLLBAR); if (handle && draw_theme_) return draw_theme_(handle, hdc, part_id, state_id, target_rect, NULL); @@ -401,7 +401,7 @@ HRESULT NativeTheme::PaintTrackbar(HDC hdc, int state_id, int classic_state, RECT* rect, - skia::PlatformCanvasWin* canvas) const { + skia::PlatformCanvas* canvas) const { // Make the channel be 4 px thick in the center of the supplied rect. (4 px // matches what XP does in various menus; GetThemePartSize() doesn't seem to // return good values here.) diff --git a/base/gfx/native_theme.h b/base/gfx/native_theme.h index 7769c4e..4516cba 100644 --- a/base/gfx/native_theme.h +++ b/base/gfx/native_theme.h @@ -18,7 +18,7 @@ #include "third_party/skia/include/core/SkColor.h" namespace skia { -class PlatformCanvasWin; +class PlatformCanvas; } // namespace skia namespace gfx { @@ -174,7 +174,7 @@ class NativeTheme { int classic_state, RECT* target_rect, RECT* align_rect, - skia::PlatformCanvasWin* canvas) const; + skia::PlatformCanvas* canvas) const; // Paints a scrollbar thumb or gripper. HRESULT PaintScrollbarThumb(HDC hdc, @@ -205,7 +205,7 @@ class NativeTheme { int state_id, int classic_state, RECT* rect, - skia::PlatformCanvasWin* canvas) const; + skia::PlatformCanvas* canvas) const; bool IsThemingActive() const; |