diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-10-04 00:46:27 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-10-06 21:35:49 +0200 |
commit | 1fd470889dd9b4e6c3a871b6b40b50e30114443d (patch) | |
tree | cc6162aff3823b8e3b676ce6a1cad5f1904da77c /components/script/fetch.rs | |
parent | a7305b7fc4e4b9c70e9a5ef43f66a7b6be6731ec (diff) | |
download | servo-1fd470889dd9b4e6c3a871b6b40b50e30114443d.tar.gz servo-1fd470889dd9b4e6c3a871b6b40b50e30114443d.zip |
Introduce GlobalScope::networking_task_source
Diffstat (limited to 'components/script/fetch.rs')
-rw-r--r-- | components/script/fetch.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/fetch.rs b/components/script/fetch.rs index a50f781d0b0..b23f8f8f8dd 100644 --- a/components/script/fetch.rs +++ b/components/script/fetch.rs @@ -96,7 +96,7 @@ pub fn Fetch(global: GlobalRef, input: RequestOrUSVString, init: &RequestInit) - })); let listener = NetworkListener { context: fetch_context, - script_chan: global.networking_task_source(), + script_chan: global_scope.networking_task_source(), wrapper: None, }; |