aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/task_source/networking.rs
diff options
context:
space:
mode:
authorAgustin Chiappe Berrini <jnieve@gmail.com>2018-09-02 08:18:22 -0400
committerAgustinCB <jnieve@gmail.com>2018-09-04 09:17:11 -0400
commite286fdcc536df0cae9020a677380ffe2fa494566 (patch)
treef9bcfc3d8283f1bc015adfa4249d9276d69088cb /components/script/task_source/networking.rs
parentb211e45bb0106127edbedb31cb36209da3934eeb (diff)
downloadservo-e286fdcc536df0cae9020a677380ffe2fa494566.tar.gz
servo-e286fdcc536df0cae9020a677380ffe2fa494566.zip
Add the TaskSourceName to CommonScriptMsg::Task
Update QueuedTaskConversion and the TaskQueue to use it
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 9058f9653e4..9ecbea9c80d 100644
--- a/components/script/task_source/networking.rs
+++ b/components/script/task_source/networking.rs
@@ -31,6 +31,7 @@ impl TaskSource for NetworkingTaskSource {
ScriptThreadEventCategory::NetworkEvent,
Box::new(canceller.wrap_task(task)),
Some(self.1),
+ NetworkingTaskSource::NAME,
))
}
}
@@ -46,6 +47,7 @@ impl NetworkingTaskSource {
ScriptThreadEventCategory::NetworkEvent,
Box::new(task),
Some(self.1),
+ NetworkingTaskSource::NAME,
))
}
}