--- a/webengine/osswebengine/WebCore/platform/graphics/symbian/ImageSymbian.cpp Mon Mar 30 12:54:55 2009 +0300
+++ b/webengine/osswebengine/WebCore/platform/graphics/symbian/ImageSymbian.cpp Fri May 08 08:25:06 2009 +0300
@@ -325,6 +325,9 @@
void BitmapImage::draw(GraphicsContext* ctxt, const FloatRect& dst, const FloatRect& src, CompositeOperator op)
{
WebCoreGraphicsContext* context = ctxt->platformContext();
+ if (!context) {
+ return;
+ }
CMaskedBitmap* bm = frameAtIndex(m_currentFrame);
if (!bm) // If it's too early we won't have an BitmapImage yet.