summaryrefslogtreecommitdiffstats
path: root/base/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'base/gfx')
-rw-r--r--base/gfx/native_theme.cc2
-rw-r--r--base/gfx/native_theme.h7
2 files changed, 6 insertions, 3 deletions
diff --git a/base/gfx/native_theme.cc b/base/gfx/native_theme.cc
index 8c7914d..2faffd5 100644
--- a/base/gfx/native_theme.cc
+++ b/base/gfx/native_theme.cc
@@ -199,7 +199,7 @@ HRESULT NativeTheme::PaintScrollbarTrack(HDC hdc,
int classic_state,
RECT* target_rect,
RECT* align_rect,
- PlatformCanvasWin* canvas) const {
+ skia::PlatformCanvasWin* canvas) const {
HANDLE handle = GetThemeHandle(SCROLLBAR);
if (handle && draw_theme_)
return draw_theme_(handle, hdc, part_id, state_id, target_rect, NULL);
diff --git a/base/gfx/native_theme.h b/base/gfx/native_theme.h
index c2a31eb..94b8848 100644
--- a/base/gfx/native_theme.h
+++ b/base/gfx/native_theme.h
@@ -17,8 +17,11 @@
#include "base/gfx/size.h"
#include "skia/include/SkColor.h"
-namespace gfx {
+namespace skia {
class PlatformCanvasWin;
+} // namespace skia
+
+namespace gfx {
// TODO: Define class member enums to replace part_id and state_id parameters
// that are currently defined in <vssym32.h>. Afterward, classic_state should
@@ -128,7 +131,7 @@ class NativeTheme {
int classic_state,
RECT* target_rect,
RECT* align_rect,
- PlatformCanvasWin* canvas) const;
+ skia::PlatformCanvasWin* canvas) const;
// |arrow_direction| determines whether the arrow is pointing to the left or
// to the right. In RTL locales, sub-menus open from right to left and