| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef APP_GFX_CANVAS_PAINT_H_ |
| 6 #define APP_GFX_CANVAS_PAINT_H_ |
| 7 |
| 8 #include "app/gfx/canvas.h" |
| 9 #include "skia/ext/canvas_paint.h" |
| 10 |
| 11 // Define a skia::CanvasPaint type that wraps our gfx::Canvas like the |
| 12 // skia::PlatformCanvasPaint wraps PlatformCanvas. |
| 13 |
| 14 namespace gfx { |
| 15 |
| 16 #if defined(OS_WIN) || defined(OS_LINUX) |
| 17 typedef skia::CanvasPaintT<Canvas> CanvasPaint; |
| 18 #endif |
| 19 |
| 20 } // namespace gfx |
| 21 |
| 22 #endif // APP_GFX_CANVAS_PAINT_H_ |
| OLD | NEW |