summaryrefslogtreecommitdiffstats
path: root/www/webkit-gtk2/files/patch-cairo
diff options
context:
space:
mode:
Diffstat (limited to 'www/webkit-gtk2/files/patch-cairo')
-rw-r--r--www/webkit-gtk2/files/patch-cairo11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/webkit-gtk2/files/patch-cairo b/www/webkit-gtk2/files/patch-cairo
new file mode 100644
index 000000000..2f928af19
--- /dev/null
+++ b/www/webkit-gtk2/files/patch-cairo
@@ -0,0 +1,11 @@
+--- Source/WebCore/platform/graphics/BitmapImage.cpp.orig 2011-01-08 16:50:57.000000000 +0000
++++ Source/WebCore/platform/graphics/BitmapImage.cpp 2011-01-11 16:36:22.000000000 +0000
+@@ -207,7 +207,7 @@ bool BitmapImage::isSizeAvailable()
+ NativeImagePtr BitmapImage::frameAtIndex(size_t index)
+ {
+ if (index >= frameCount())
+- return 0;
++ return NULL;
+
+ if (index >= m_frames.size() || !m_frames[index].m_frame)
+ cacheFrame(index);