aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/task_source/networking.rs
diff options
context:
space:
mode:
authorddh <dianehosfelt@gmail.com>2017-10-02 14:52:39 +0100
committerddh <dianehosfelt@gmail.com>2017-10-24 21:02:56 +0100
commit2ffbe5398970e54ad55d3e53b495ee6651b64f4c (patch)
tree4bd439757539df5afa8e58a9030a3a46c4098e0d /components/script/task_source/networking.rs
parent347176df257978bdb1c413f632c9fc870de4ff76 (diff)
downloadservo-2ffbe5398970e54ad55d3e53b495ee6651b64f4c.tar.gz
servo-2ffbe5398970e54ad55d3e53b495ee6651b64f4c.zip
added time to interactive metrics, refactored metrics to use traits
changed task macro to take pipeline info
Diffstat (limited to 'components/script/task_source/networking.rs')
-rw-r--r--components/script/task_source/networking.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/task_source/networking.rs b/components/script/task_source/networking.rs
index 41795227e5d..0c2fd8f6162 100644
--- a/components/script/task_source/networking.rs
+++ b/components/script/task_source/networking.rs
@@ -27,6 +27,7 @@ impl TaskSource for NetworkingTaskSource {
self.0.send(CommonScriptMsg::Task(
ScriptThreadEventCategory::NetworkEvent,
Box::new(canceller.wrap_task(task)),
+ None
))
}
}
@@ -41,6 +42,7 @@ impl NetworkingTaskSource {
self.0.send(CommonScriptMsg::Task(
ScriptThreadEventCategory::NetworkEvent,
Box::new(task),
+ None //TODO
))
}
}