aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/fetch.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2016-10-04 00:46:27 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2016-10-06 21:35:49 +0200
commit1fd470889dd9b4e6c3a871b6b40b50e30114443d (patch)
treecc6162aff3823b8e3b676ce6a1cad5f1904da77c /components/script/fetch.rs
parenta7305b7fc4e4b9c70e9a5ef43f66a7b6be6731ec (diff)
downloadservo-1fd470889dd9b4e6c3a871b6b40b50e30114443d.tar.gz
servo-1fd470889dd9b4e6c3a871b6b40b50e30114443d.zip
Introduce GlobalScope::networking_task_source
Diffstat (limited to 'components/script/fetch.rs')
-rw-r--r--components/script/fetch.rs2
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,
};