summaryrefslogtreecommitdiff
path: root/www/webkit-gtk/patches/patch-bb
diff options
context:
space:
mode:
Diffstat (limited to 'www/webkit-gtk/patches/patch-bb')
-rw-r--r--www/webkit-gtk/patches/patch-bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/webkit-gtk/patches/patch-bb b/www/webkit-gtk/patches/patch-bb
new file mode 100644
index 00000000000..f0967e652e8
--- /dev/null
+++ b/www/webkit-gtk/patches/patch-bb
@@ -0,0 +1,13 @@
+$NetBSD: patch-bb,v 1.3 2011/03/15 21:58:56 drochner Exp $
+
+--- WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp.orig 2010-09-10 13:20:33.000000000 +0000
++++ WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp
+@@ -184,6 +184,8 @@ static inline void drawPathShadow(Graphi
+
+ // Create suitably-sized ImageBuffer to hold the shadow.
+ OwnPtr<ImageBuffer> shadowBuffer = ImageBuffer::create(shadowBufferSize);
++ if (!shadowBuffer)
++ return;
+
+ // Draw shadow into a new ImageBuffer.
+ cairo_t* shadowContext = shadowBuffer->context()->platformContext();