imagehandlingutilities/thumbnailmanager/thumbnailserver/src/thumbnaildecodetask.cpp
branchRCL_3
changeset 5 82749d516180
parent 0 2014ca87e772
child 11 dea39715fc05
equal deleted inserted replaced
1:235a7fc86938 5:82749d516180
   139         {
   139         {
   140         Complete( KErrGeneral );
   140         Complete( KErrGeneral );
   141         return;
   141         return;
   142         }
   142         }
   143       
   143       
   144     if ( iMessage.Handle())
   144     if ( ClientThreadAlive() )
   145        {
   145        {
   146        TRAP_IGNORE(iServer.AddBitmapToPoolL( iRequestId.iSession, aBitmap ));
   146        TRAP_IGNORE(iServer.AddBitmapToPoolL( iRequestId.iSession, aBitmap, iRequestId ));
   147        const TSize bitmapSize = aBitmap->SizeInPixels();
   147        const TSize bitmapSize = aBitmap->SizeInPixels();
   148        iBitmapHandle = aBitmap->Handle();
   148        iBitmapHandle = aBitmap->Handle();
   149        aBitmap = NULL;
   149        aBitmap = NULL;
   150        
   150        
   151        // Complete message and pass bitmap handle to client
   151        // Complete message and pass bitmap handle to client