webengine/osswebengine/WebCore/platform/symbian/bitmap/AnimationDecoderWrapped.cpp
branchRCL_3
changeset 37 ac77f89b1d9e
parent 27 6297cdf66332
child 40 8bfb9186a8b8
--- a/webengine/osswebengine/WebCore/platform/symbian/bitmap/AnimationDecoderWrapped.cpp	Wed Mar 31 23:16:40 2010 +0300
+++ b/webengine/osswebengine/WebCore/platform/symbian/bitmap/AnimationDecoderWrapped.cpp	Wed Apr 14 17:06:56 2010 +0300
@@ -50,6 +50,7 @@
 #include "ImageObserver.h"
 #include "SyncDecodeThread.h"
 #include <Oma2Agent.h>
+#include <Browser_Platform_Variant.hrh>
 using namespace ContentAccess;
 
 namespace TBidirectionalState {
@@ -629,9 +630,10 @@
         //Compress non-animated images via FBServ (losslessly, idle priority) 
         //the 1x1 image is directly fetched before decompressing it which results in a crash in fbsserv and therefore a white background is displayed.
         //If the Image is of pixel (1,1) do not compress.
+#ifndef BRDO_PERF_IMPROVEMENTS_ENABLED_FF        
         if( frameSize != TSize(1,1) )
            iDestination->CompressInBackground();
-
+#endif
         // Normal image ready
         //iDestination = NULL;
         iImageState = EInactive;