freebsd-ports/www/webkit-gtk2/files/patch-cairo
2011-08-23 18:32:20 +00:00

11 lines
464 B
Text

--- 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);