aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_task.rs
diff options
context:
space:
mode:
authorHimaja <hsvalava@users.noreply.github.com>2015-04-27 15:31:21 -0400
committerJosh Matthews <josh@joshmatthews.net>2015-05-05 12:31:40 -0400
commit01eb31ae8ad33ae4c80edf81110ef64759e02329 (patch)
tree4841d68f119a1c1088394babc6d570c1f0ecf33d /components/script/script_task.rs
parent6e91ebb1fe2932655c191a26a4ca4770231e69f3 (diff)
downloadservo-01eb31ae8ad33ae4c80edf81110ef64759e02329.tar.gz
servo-01eb31ae8ad33ae4c80edf81110ef64759e02329.zip
1. Add an Option<Pipeline_id> field to the LoadData struct, and a corresponding parameter to LoadData::new()
2. Change addEvent in the NetworkEventActor to add_request and add_response
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r--components/script/script_task.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs
index 5e776d4db0f..5efbb6a1deb 100644
--- a/components/script/script_task.rs
+++ b/components/script/script_task.rs
@@ -1358,6 +1358,7 @@ impl ScriptTask {
preserved_headers: load_data.headers,
data: load_data.data,
cors: None,
+ pipeline_id: Some(id),
}, LoadConsumer::Channel(input_chan))).unwrap();
let load_response = input_port.recv().unwrap();