Re: [webkit-dev] Propose some changes to WebKit implementation of HTML5 workers in order to run them in Chrome's worker process

2009-02-05 Thread Jian Li
Based on the initial refactoring of WorkerMessagingProxy class, I've updated the abstractions as the following: // A proxy to talk to the worker context. // All calls to any methods should come from worker object thread.class WorkerContextProxyBase { public: // Creator. static WorkerContex

[webkit-dev] Propose some changes to WebKit implementation of HTML5 workers in order to run them in Chrome's worker process

2009-02-02 Thread Jian Li
The current WebKit implementation of HTML5 workers is based on cross-thread communication in single process. To make it work for Chrome, we need to run the workers in Chrome's worker process. Hence, we propose the following changes: MessagingWorkerProxy acts as the gateway between Worker and Worke