blob: 4028de554298398ec4975b67dc76bd6aef47641d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- ui/gfx/image.h.orig 2011-04-19 23:12:17.508039568 +0300
+++ ui/gfx/image.h 2011-04-19 23:12:44.348038227 +0300
@@ -43,7 +43,7 @@
// Creates a new image with the default representation. The object will take
// ownership of the image.
explicit Image(const SkBitmap* bitmap);
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_FREEBSD)
// Does not increase |pixbuf|'s reference count; expects to take ownership.
explicit Image(GdkPixbuf* pixbuf);
#elif defined(OS_MACOSX)
@@ -57,7 +57,7 @@
// Conversion handlers.
operator const SkBitmap*();
operator const SkBitmap&();
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_FREEBSD)
operator GdkPixbuf*();
#elif defined(OS_MACOSX)
operator NSImage*();
|