Index: ui/gfx/image.h |
diff --git a/ui/gfx/image.h b/ui/gfx/image.h |
index df088feae9f95ef95f966b4cdfc35a568078ede8..d9117ed9aa1b10177eee7de81cf629283bd72ac3 100644 |
--- a/ui/gfx/image.h |
+++ b/ui/gfx/image.h |
@@ -58,7 +58,7 @@ class Image { |
// of bitmaps, one for each resolution. |
explicit Image(const std::vector<const SkBitmap*>& bitmaps); |
-#if defined(OS_LINUX) |
+#if defined(TOOLKIT_USES_GTK) |
// Does not increase |pixbuf|'s reference count; expects to take ownership. |
explicit Image(GdkPixbuf* pixbuf); |
#elif defined(OS_MACOSX) |
@@ -81,7 +81,7 @@ class Image { |
// Conversion handlers. |
operator const SkBitmap*() const ; |
operator const SkBitmap&() const; |
-#if defined(OS_LINUX) |
+#if defined(TOOLKIT_USES_GTK) |
operator GdkPixbuf*() const; |
#elif defined(OS_MACOSX) |
operator NSImage*() const; |