| Index: ui/native_theme/native_theme_win.h
|
| diff --git a/ui/native_theme/native_theme_win.h b/ui/native_theme/native_theme_win.h
|
| index 8a1c3bf218037060e979776be43eaf714e6bc908..7b25cfb7b3406ecbebed6b2cfb6dee02a1eb0e55 100644
|
| --- a/ui/native_theme/native_theme_win.h
|
| +++ b/ui/native_theme/native_theme_win.h
|
| @@ -125,8 +125,8 @@ class NATIVE_THEME_EXPORT NativeThemeWin : public NativeTheme,
|
| // Update the locally cached set of system colors.
|
| void UpdateSystemColors();
|
|
|
| - // Paint directly to canvas' HDC.
|
| - void PaintDirect(SkCanvas* canvas,
|
| + // Paint directly to HDC.
|
| + void PaintDirect(HDC hdc,
|
| Part part,
|
| State state,
|
| const gfx::Rect& rect,
|
| @@ -135,7 +135,7 @@ class NATIVE_THEME_EXPORT NativeThemeWin : public NativeTheme,
|
| // Create a temporary HDC, paint to that, clean up the alpha values in the
|
| // temporary HDC, and then blit the result to canvas. This is to work around
|
| // the fact that Windows XP and some classic themes give bogus alpha values.
|
| - void PaintIndirect(SkCanvas* canvas,
|
| + void PaintIndirect(HDC hdc,
|
| Part part,
|
| State state,
|
| const gfx::Rect& rect,
|
| @@ -226,8 +226,7 @@ class NATIVE_THEME_EXPORT NativeThemeWin : public NativeTheme,
|
| // Paints a scrollbar track section. |align_rect| is only used in classic
|
| // mode, and makes sure the checkerboard pattern in |target_rect| is aligned
|
| // with one presumed to be in |align_rect|.
|
| - HRESULT PaintScrollbarTrack(SkCanvas* canvas,
|
| - HDC hdc,
|
| + HRESULT PaintScrollbarTrack(HDC hdc,
|
| Part part,
|
| State state,
|
| const gfx::Rect& rect,
|
| @@ -239,8 +238,7 @@ class NATIVE_THEME_EXPORT NativeThemeWin : public NativeTheme,
|
| const gfx::Rect& rect,
|
| const InnerSpinButtonExtraParams& extra) const;
|
|
|
| - HRESULT PaintTrackbar(SkCanvas* canvas,
|
| - HDC hdc,
|
| + HRESULT PaintTrackbar(HDC hdc,
|
| Part part,
|
| State state,
|
| const gfx::Rect& rect,
|
|
|