Index: app/gfx/canvas.h |
=================================================================== |
--- app/gfx/canvas.h (revision 25977) |
+++ app/gfx/canvas.h (working copy) |
@@ -14,7 +14,7 @@ |
#include "base/basictypes.h" |
#include "skia/ext/platform_canvas.h" |
-#if defined(OS_LINUX) |
+#if defined(USE_X11) |
typedef struct _cairo cairo_t; |
typedef struct _GdkPixbuf GdkPixbuf; |
#endif |
@@ -182,7 +182,7 @@ |
// Extracts a bitmap from the contents of this canvas. |
SkBitmap ExtractBitmap(); |
-#if defined(OS_LINUX) |
+#if defined(USE_X11) |
// Applies current matrix on the canvas to the cairo context. This should be |
// invoked anytime you plan on drawing directly to the cairo context. Be |
// sure and set the matrix back to the identity when done. |