webengine/osswebengine/WebCore/platform/graphics/symbian/ImageSourceSymbian.cpp
changeset 10 a359256acfc6
parent 0 dd21522fd290
child 40 8bfb9186a8b8
--- a/webengine/osswebengine/WebCore/platform/graphics/symbian/ImageSourceSymbian.cpp	Fri Jul 03 15:54:40 2009 +0100
+++ b/webengine/osswebengine/WebCore/platform/graphics/symbian/ImageSourceSymbian.cpp	Thu Aug 27 07:44:59 2009 +0300
@@ -101,7 +101,7 @@
 {
     return m_mimeType;    
 }
-void ImageSource::setData(SharedBuffer* data, bool allDataReceived)
+void ImageSource::setDataL(SharedBuffer* data, bool allDataReceived)
 {
     // Make the decoder by sniffing the bytes.
     // This method will examine the data and instantiate an instance of the appropriate decoder plugin.
@@ -110,11 +110,11 @@
     if( !allDataReceived ) return;
     if( !m_decoder )
         // sync decoding if no observer is passed
-        TRAP_IGNORE( m_decoder = CAnimationDecoder::NewL( NULL ) );
+        m_decoder = CAnimationDecoder::NewL( NULL );
     if( m_decoder ) {
         TPtrC8 ptr( (const TUint8*)data->data(), data->size() );
         TPtrC16 ptr16(m_mimeType.des());        
-        TRAP_IGNORE( m_decoder->OpenL( ptr, &ptr16, ETrue ) );
+        m_decoder->OpenL( ptr, &ptr16, ETrue );
     }
 }