diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-17 23:29:40 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-17 23:29:40 +0000 |
commit | 21f527e6a4a812b604dd0891b27878d8418c04d9 (patch) | |
tree | 4dec5cb778e0b0755606f1d2113b3b6097188f85 /skia/ext/platform_canvas.h | |
parent | f8a2599cd63347322133ffa5c89195d66dc3d4b3 (diff) | |
download | chromium_src-21f527e6a4a812b604dd0891b27878d8418c04d9.zip chromium_src-21f527e6a4a812b604dd0891b27878d8418c04d9.tar.gz chromium_src-21f527e6a4a812b604dd0891b27878d8418c04d9.tar.bz2 |
Move the "platform" wrappers in skia/ext to the skia namespace.
Review URL: http://codereview.chromium.org/14110
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7182 0039d316-1c4b-4281-b951-d872f2087c98
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 |