webengine/osswebengine/WebCore/platform/symbian/bitmap/SyncDecodeThread.cpp
changeset 15 60c5402cb945
parent 10 a359256acfc6
child 27 6297cdf66332
--- a/webengine/osswebengine/WebCore/platform/symbian/bitmap/SyncDecodeThread.cpp	Thu Sep 24 12:53:48 2009 +0300
+++ b/webengine/osswebengine/WebCore/platform/symbian/bitmap/SyncDecodeThread.cpp	Mon Oct 26 08:28:45 2009 +0200
@@ -252,7 +252,8 @@
 void CSynDecodeThread::ConstructL()
 {   
     _LIT(KThreadName, "ImgDecoder");
-    User::LeaveIfError(iDecoderThread.Create(KThreadName, CSynDecodeThread::ScaleInThread, KDefaultStackSize, KMinHeapSize, KMaxHeapSize, NULL));
+    RAllocator &allocator = User::Allocator();
+    User::LeaveIfError(iDecoderThread.Create(KThreadName, CSynDecodeThread::ScaleInThread, KDefaultStackSize, &allocator, NULL));
     iDecoderThread.SetPriority(EPriorityMore);
     TRequestStatus status = KRequestPending;
     iDecoderThread.Rendezvous(status);