| Index: ui/native_theme/native_theme.h
|
| diff --git a/ui/native_theme/native_theme.h b/ui/native_theme/native_theme.h
|
| index 4645165f4c8cbe65605d8201b70d2a6c8492ffe9..3b5b6da2e424d9584a28283055fcfa7fad6f4328 100644
|
| --- a/ui/native_theme/native_theme.h
|
| +++ b/ui/native_theme/native_theme.h
|
| @@ -8,13 +8,12 @@
|
| #include "base/macros.h"
|
| #include "base/observer_list.h"
|
| #include "build/build_config.h"
|
| +#include "cc/paint/paint_canvas.h"
|
| #include "third_party/skia/include/core/SkColor.h"
|
| #include "ui/base/models/menu_separator_types.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| #include "ui/native_theme/native_theme_export.h"
|
|
|
| -class SkCanvas;
|
| -
|
| namespace gfx {
|
| class Rect;
|
| class Size;
|
| @@ -252,7 +251,7 @@ class NATIVE_THEME_EXPORT NativeTheme {
|
| const ExtraParams& extra) const = 0;
|
|
|
| // Paint the part to the canvas.
|
| - virtual void Paint(SkCanvas* canvas,
|
| + virtual void Paint(cc::PaintCanvas* canvas,
|
| Part part,
|
| State state,
|
| const gfx::Rect& rect,
|
| @@ -260,7 +259,7 @@ class NATIVE_THEME_EXPORT NativeTheme {
|
|
|
| // Paint part during state transition, used for overlay scrollbar state
|
| // transition animation.
|
| - virtual void PaintStateTransition(SkCanvas* canvas,
|
| + virtual void PaintStateTransition(cc::PaintCanvas* canvas,
|
| Part part,
|
| State startState,
|
| State endState,
|
|
|