webengine/osswebengine/WebCore/platform/graphics/symbian/ImageSymbian.cpp
changeset 1 7c90e6132015
parent 0 dd21522fd290
child 5 10e98eab6f85
equal deleted inserted replaced
0:dd21522fd290 1:7c90e6132015
   323 }
   323 }
   324 
   324 
   325 void BitmapImage::draw(GraphicsContext* ctxt, const FloatRect& dst, const FloatRect& src, CompositeOperator op)
   325 void BitmapImage::draw(GraphicsContext* ctxt, const FloatRect& dst, const FloatRect& src, CompositeOperator op)
   326 {
   326 {
   327     WebCoreGraphicsContext* context = ctxt->platformContext();
   327     WebCoreGraphicsContext* context = ctxt->platformContext();
       
   328 	if (!context) {
       
   329           return;
       
   330 	}
   328 
   331 
   329     CMaskedBitmap* bm = frameAtIndex(m_currentFrame);
   332     CMaskedBitmap* bm = frameAtIndex(m_currentFrame);
   330     if (!bm) // If it's too early we won't have an BitmapImage yet.
   333     if (!bm) // If it's too early we won't have an BitmapImage yet.
   331         return;
   334         return;
   332 
   335