diff options
| author | Rene Ladan <rene@FreeBSD.org> | 2011-04-30 10:04:15 +0000 |
|---|---|---|
| committer | Rene Ladan <rene@FreeBSD.org> | 2011-04-30 10:04:15 +0000 |
| commit | d7a094b3d7b51df5e122bfc0e3a7f3af1c02d7c0 (patch) | |
| tree | d7a52db5900b32294d6b1ef37500c1a8332d9310 /www/chromium/files/patch-ui__gfx__image.h | |
| parent | Connect portbuilder (diff) | |
On behalf of the Chromium team, present version 11.0.696.57 (new stable version)
Patch updates from: George Liaskos
Security: 6887828f-0229-11e0-b84d-00262d5ed8ee
Diffstat (limited to 'www/chromium/files/patch-ui__gfx__image.h')
| -rw-r--r-- | www/chromium/files/patch-ui__gfx__image.h | 20 |
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*(); |
