webengine/osswebengine/WebCore/platform/symbian/bitmap/SyncDecodeThread.cpp
changeset 15 60c5402cb945
parent 10 a359256acfc6
child 27 6297cdf66332
equal deleted inserted replaced
11:c8a366e56285 15:60c5402cb945
   250 }
   250 }
   251 
   251 
   252 void CSynDecodeThread::ConstructL()
   252 void CSynDecodeThread::ConstructL()
   253 {   
   253 {   
   254     _LIT(KThreadName, "ImgDecoder");
   254     _LIT(KThreadName, "ImgDecoder");
   255     User::LeaveIfError(iDecoderThread.Create(KThreadName, CSynDecodeThread::ScaleInThread, KDefaultStackSize, KMinHeapSize, KMaxHeapSize, NULL));
   255     RAllocator &allocator = User::Allocator();
       
   256     User::LeaveIfError(iDecoderThread.Create(KThreadName, CSynDecodeThread::ScaleInThread, KDefaultStackSize, &allocator, NULL));
   256     iDecoderThread.SetPriority(EPriorityMore);
   257     iDecoderThread.SetPriority(EPriorityMore);
   257     TRequestStatus status = KRequestPending;
   258     TRequestStatus status = KRequestPending;
   258     iDecoderThread.Rendezvous(status);
   259     iDecoderThread.Rendezvous(status);
   259     iDecoderThread.Resume();
   260     iDecoderThread.Resume();
   260     User::WaitForRequest(status);
   261     User::WaitForRequest(status);