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

Unified Diff: app/gfx/canvas.h

Issue 199105: Continue with the FreeBSD port - this version builds and links, though... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 3 months 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 | « app/app.gyp ('k') | app/gfx/font.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « app/app.gyp ('k') | app/gfx/font.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698