mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Introduce GlobalScope::core_resource_thread
This commit is contained in:
parent
de846f25a6
commit
71236e168a
5 changed files with 12 additions and 14 deletions
|
@ -1303,7 +1303,7 @@ impl XMLHttpRequest {
|
|||
(global.networking_task_source(), None)
|
||||
};
|
||||
|
||||
let core_resource_thread = global.core_resource_thread();
|
||||
let core_resource_thread = global.as_global_scope().core_resource_thread();
|
||||
XMLHttpRequest::initiate_async_xhr(context.clone(), script_chan,
|
||||
core_resource_thread, init);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue