Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(579)

Unified Diff: skia/ext/platform_canvas.h

Issue 14110: Move the "platform" wrappers in skia/ext to the skia namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « skia/ext/convolver_unittest.cc ('k') | skia/ext/platform_canvas_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/platform_canvas.h
===================================================================
--- skia/ext/platform_canvas.h (revision 6968)
+++ skia/ext/platform_canvas.h (working copy)
@@ -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
« no previous file with comments | « skia/ext/convolver_unittest.cc ('k') | skia/ext/platform_canvas_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698