summaryrefslogtreecommitdiffstats
path: root/www/webkit-gtk3/files/patch-cairo
diff options
context:
space:
mode:
Diffstat (limited to 'www/webkit-gtk3/files/patch-cairo')
-rw-r--r--www/webkit-gtk3/files/patch-cairo11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/webkit-gtk3/files/patch-cairo b/www/webkit-gtk3/files/patch-cairo
new file mode 100644
index 000000000..2c4293af5
--- /dev/null
+++ b/www/webkit-gtk3/files/patch-cairo
@@ -0,0 +1,11 @@
+--- WebCore/platform/graphics/BitmapImage.cpp.orig 2009-03-04 03:34:16.000000000 +0800
++++ WebCore/platform/graphics/BitmapImage.cpp 2009-05-19 15:09:51.000000000 +0800
+@@ -202,7 +202,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);