diff -r e1bea15f9a39 -r 79859ed3eea9 webengine/osswebengine/cache/src/HttpCacheManager.cpp --- a/webengine/osswebengine/cache/src/HttpCacheManager.cpp Thu Aug 19 10:58:56 2010 +0300 +++ b/webengine/osswebengine/cache/src/HttpCacheManager.cpp Tue Aug 31 16:17:46 2010 +0300 @@ -16,17 +16,17 @@ */ // INCLUDE FILES -#include "httpcachemanager.h" +#include "HttpCacheManager.h" #include "HttpCacheHandler.h" #include "HttpCacheUtil.h" #include "HttpCacheFileWriteHandler.h" -#include +#include #include #include #include -#include -#include -#include +#include +#include +#include #include #include #include @@ -941,12 +941,9 @@ // get critical level // RAM drive can have different critical level TVolumeInfo vinfo; - RFs fsSession; - User::LeaveIfError(fsSession.Connect()); - CleanupClosePushL( fsSession ); - User::LeaveIfError(fsSession.Volume(vinfo, drive)); + User::LeaveIfError(CCoeEnv::Static()->FsSession().Volume(vinfo, drive)); + // User::LeaveIfError(aRepository.Get((vinfo.iDrive.iType == EMediaRam ? KRamDiskCriticalLevel : KDiskCriticalThreshold), aCriticalLevel)); - CleanupStack::PopAndDestroy(&fsSession); } void CHttpCacheManager::CreateHttpCacheL( const TInt& aSecIdInt, const TInt& aCacheSize, const TInt& aCriticalLevel, const THttpCachePostponeParameters& aPostpone )