diff options
Diffstat (limited to 'skia/ext/platform_canvas.h')
-rw-r--r-- | skia/ext/platform_canvas.h | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/skia/ext/platform_canvas.h b/skia/ext/platform_canvas.h index b1e4310..e0883e3 100644 --- a/skia/ext/platform_canvas.h +++ b/skia/ext/platform_canvas.h @@ -8,23 +8,20 @@ #if defined(WIN32) #include "skia/ext/platform_canvas_win.h" -namespace gfx { - -typedef PlatformCanvasWin PlatformCanvas; - -} // namespace gfx #elif defined(__APPLE__) #include "skia/ext/platform_canvas_mac.h" -namespace gfx { - -typedef PlatformCanvasMac PlatformCanvas; - -} // namespace gfx #elif defined(__linux__) #include "skia/ext/platform_canvas_linux.h" -namespace gfx { +#endif -typedef PlatformCanvasLinux PlatformCanvas; +namespace skia { -} // namespace gfx +#if defined(WIN32) +typedef PlatformCanvasWin PlatformCanvas; +#elif defined(__APPLE__) +typedef PlatformCanvasMac PlatformCanvas; +#elif defined(__linux__) +typedef PlatformCanvasLinux PlatformCanvas; #endif + +} // namespace skia |