mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Remove origin
parameter from Worker::handle_message
This commit is contained in:
parent
3892d85fe0
commit
0692a26bcc
3 changed files with 3 additions and 20 deletions
|
@ -538,9 +538,8 @@ impl DedicatedWorkerGlobalScope {
|
|||
let worker = self.worker.borrow().as_ref().unwrap().clone();
|
||||
let global_scope = self.upcast::<GlobalScope>();
|
||||
let pipeline_id = global_scope.pipeline_id();
|
||||
let origin = global_scope.origin().immutable().ascii_serialization();
|
||||
let task = Box::new(task!(post_worker_message: move || {
|
||||
Worker::handle_message(worker, origin, data);
|
||||
Worker::handle_message(worker, data);
|
||||
}));
|
||||
self.parent_sender
|
||||
.send(CommonScriptMsg::Task(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue