aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/request.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2016-10-01 17:24:54 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2016-10-06 20:59:13 +0200
commit27f100b1d47058b92d0e23d8c1b2e472fb0eafca (patch)
tree2f12c1364fe0b5abb9b7f1405be81e04023193dd /components/script/dom/request.rs
parentc6ff767625fff00e7c8f41d254c074e8e1e277be (diff)
downloadservo-27f100b1d47058b92d0e23d8c1b2e472fb0eafca.tar.gz
servo-27f100b1d47058b92d0e23d8c1b2e472fb0eafca.zip
Introduce GlobalScope::pipeline_id
Diffstat (limited to 'components/script/dom/request.rs')
-rw-r--r--components/script/dom/request.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/request.rs b/components/script/dom/request.rs
index 1496f16d353..4a9343b76b4 100644
--- a/components/script/dom/request.rs
+++ b/components/script/dom/request.rs
@@ -451,7 +451,7 @@ fn net_request_from_global(global: GlobalRef,
url: Url,
is_service_worker_global_scope: bool) -> NetTraitsRequest {
let origin = Origin::Origin(global.get_url().origin());
- let pipeline_id = global.pipeline_id();
+ let pipeline_id = global.as_global_scope().pipeline_id();
NetTraitsRequest::new(url,
Some(origin),
is_service_worker_global_scope,