OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef GFX_CANVAS_PAINT_H_ | 5 #ifndef GFX_CANVAS_SKIA_PAINT_H_ |
6 #define GFX_CANVAS_PAINT_H_ | 6 #define GFX_CANVAS_SKIA_PAINT_H_ |
7 | 7 |
8 #include "gfx/canvas.h" | 8 #include "gfx/canvas.h" |
9 #include "skia/ext/canvas_paint.h" | 9 #include "skia/ext/canvas_paint.h" |
10 | 10 |
11 // Define a skia::CanvasPaint type that wraps our gfx::Canvas like the | 11 // Define a gfx::CanvasSkiaPaint type that wraps our gfx::Canvas like the |
12 // skia::PlatformCanvasPaint wraps PlatformCanvas. | 12 // skia::PlatformCanvasPaint wraps PlatformCanvas. |
13 | 13 |
14 namespace gfx { | 14 namespace gfx { |
15 | 15 |
16 typedef skia::CanvasPaintT<Canvas> CanvasPaint; | 16 typedef skia::CanvasPaintT<CanvasSkia> CanvasSkiaPaint; |
17 | 17 |
18 } // namespace gfx | 18 } // namespace gfx |
19 | 19 |
20 #endif // GFX_CANVAS_PAINT_H_ | 20 #endif // GFX_CANVAS_SKIA_PAINT_H_ |
OLD | NEW |