summaryrefslogtreecommitdiffstats
path: root/www/webkit-gtk2/files/patch-cairo
blob: 2f928af196aaa72925524543a962b86e0cc5097c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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);