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

Unified Diff: ui/gfx/canvas_skia.h

Issue 7977025: aura: Make 'ui' buildable without gtk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 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 | « ui/base/resource/resource_bundle_linux.cc ('k') | ui/gfx/canvas_skia_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/canvas_skia.h
diff --git a/ui/gfx/canvas_skia.h b/ui/gfx/canvas_skia.h
index e5c4bd9d467100cabdf76d50e5a2e93dc3b2b5bc..e7ec18b183d821ee64c2eddf8e21328b2f047894 100644
--- a/ui/gfx/canvas_skia.h
+++ b/ui/gfx/canvas_skia.h
@@ -11,7 +11,7 @@
#include "skia/ext/platform_canvas.h"
#include "ui/gfx/canvas.h"
-#if defined(OS_POSIX) && !defined(OS_MACOSX)
+#if defined(TOOLKIT_USES_GTK)
typedef struct _GdkPixbuf GdkPixbuf;
#endif
@@ -68,7 +68,7 @@ class UI_EXPORT CanvasSkia : public skia::PlatformCanvas, public Canvas {
// gfx::Canvas::TEXT_ALIGN_RIGHT.
static int DefaultCanvasTextAlignment();
-#if defined(OS_POSIX) && !defined(OS_MACOSX)
+#if defined(TOOLKIT_USES_GTK)
// Draw the pixbuf in its natural size at (x, y).
void DrawGdkPixbuf(GdkPixbuf* pixbuf, int x, int y);
#endif
« no previous file with comments | « ui/base/resource/resource_bundle_linux.cc ('k') | ui/gfx/canvas_skia_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698