RESOLVED FIXED Bug 24113
WorkerContextProxy::create in WorkerMessagingProxy.cpp should only be provided for non-Chromium platform.
https://bugs.webkit.org/show_bug.cgi?id=24113
Summary WorkerContextProxy::create in WorkerMessagingProxy.cpp should only be provide...
Jian Li
Reported 2009-02-23 18:45:23 PST
Need to implement WorkerContextProxy::create for Chromium platform.
Attachments
Proposed Patch (4.00 KB, patch)
2009-02-24 17:51 PST, Jian Li
no flags
Proposed Patch (4.17 KB, patch)
2009-02-24 18:14 PST, Jian Li
no flags
Proposed Patch (1.06 KB, patch)
2009-02-25 14:38 PST, Jian Li
ap: review+
Jian Li
Comment 1 2009-02-24 17:51:25 PST
Created attachment 27945 [details] Proposed Patch
Jian Li
Comment 2 2009-02-24 18:14:03 PST
Created attachment 27947 [details] Proposed Patch
Alexey Proskuryakov
Comment 3 2009-02-25 02:31:22 PST
Comment on attachment 27947 [details] Proposed Patch I don't think that checking for PLATFORM(CHROMIUM) when the check is actually for multi-process implementation is great. Is this what we're always doing in such cases?
Jian Li
Comment 4 2009-02-25 08:03:58 PST
(In reply to comment #3) > (From update of attachment 27947 [details] [review]) > I don't think that checking for PLATFORM(CHROMIUM) when the check is actually > for multi-process implementation is great. Is this what we're always doing in > such cases? > This check is to say: create WorkerMessagingProxy for all non-Chromium platform For Chromium, we have our own logic to decide what to create. That is, either create our own version of cross-process proxies or use WorkerMessagingProxy directly if it is for subworker or worker from the same origin.
Jian Li
Comment 5 2009-02-25 14:36:13 PST
We do not need additional changes other than placing WorkerContextProxy::create in #if. So change the summary to reflect this.
Jian Li
Comment 6 2009-02-25 14:38:35 PST
Created attachment 27986 [details] Proposed Patch
Alexey Proskuryakov
Comment 7 2009-02-27 01:04:51 PST
Comment on attachment 27986 [details] Proposed Patch > This check is to say: create WorkerMessagingProxy for all non-Chromium platform > For Chromium, we have our own logic to decide what to create. What I was saying was that non-Chromium platforms may want to use their own logic for create() if they use separate processes instead of threads. But looks like we don't have a platform define for that yet. r=me
David Levin
Comment 8 2009-02-27 09:22:05 PST
Reassign to levin for landing.
David Levin
Comment 9 2009-02-27 11:53:46 PST
Committed in r41291.
Note You need to log in before you can comment on or make changes to this bug.