| Index: ui/native_theme/native_theme.h
|
| diff --git a/ui/native_theme/native_theme.h b/ui/native_theme/native_theme.h
|
| index 6ff56e053cb2328f40f4382f87293e856a94d8ca..92a08df3cccb6908710aa4299e883762ee996afa 100644
|
| --- a/ui/native_theme/native_theme.h
|
| +++ b/ui/native_theme/native_theme.h
|
| @@ -8,12 +8,11 @@
|
| #include "base/macros.h"
|
| #include "base/observer_list.h"
|
| #include "build/build_config.h"
|
| +#include "skia/ext/cdl_common.h"
|
| #include "third_party/skia/include/core/SkColor.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| #include "ui/native_theme/native_theme_export.h"
|
|
|
| -class SkCanvas;
|
| -
|
| namespace gfx {
|
| class Rect;
|
| class Size;
|
| @@ -228,7 +227,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(CdlCanvas* canvas,
|
| Part part,
|
| State state,
|
| const gfx::Rect& rect,
|
| @@ -236,7 +235,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(CdlCanvas* canvas,
|
| Part part,
|
| State startState,
|
| State endState,
|
|
|