summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui__gfx__image.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-ui__gfx__image.h')
-rw-r--r--www/chromium/files/patch-ui__gfx__image.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/chromium/files/patch-ui__gfx__image.h b/www/chromium/files/patch-ui__gfx__image.h
new file mode 100644
index 000000000000..4028de554298
--- /dev/null
+++ b/www/chromium/files/patch-ui__gfx__image.h
@@ -0,0 +1,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*();