aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/task_source/file_reading.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/file_reading.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/file_reading.rs')
-rw-r--r--components/script/task_source/file_reading.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/task_source/file_reading.rs b/components/script/task_source/file_reading.rs
index 8fd3a143eff..f8ca38a0c30 100644
--- a/components/script/task_source/file_reading.rs
+++ b/components/script/task_source/file_reading.rs
@@ -34,6 +34,7 @@ impl TaskSource for FileReadingTaskSource {
ScriptThreadEventCategory::FileRead,
Box::new(canceller.wrap_task(task)),
Some(self.1),
+ FileReadingTaskSource::NAME,
))
}
}