diff options
author | Agustin Chiappe Berrini <jnieve@gmail.com> | 2018-09-02 08:18:22 -0400 |
---|---|---|
committer | AgustinCB <jnieve@gmail.com> | 2018-09-04 09:17:11 -0400 |
commit | e286fdcc536df0cae9020a677380ffe2fa494566 (patch) | |
tree | f9bcfc3d8283f1bc015adfa4249d9276d69088cb /components/script/task_source/performance_timeline.rs | |
parent | b211e45bb0106127edbedb31cb36209da3934eeb (diff) | |
download | servo-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/performance_timeline.rs')
-rw-r--r-- | components/script/task_source/performance_timeline.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/task_source/performance_timeline.rs b/components/script/task_source/performance_timeline.rs index 05591bbe71b..6191db7600a 100644 --- a/components/script/task_source/performance_timeline.rs +++ b/components/script/task_source/performance_timeline.rs @@ -44,7 +44,8 @@ impl TaskSource for PerformanceTimelineTaskSource { let msg = CommonScriptMsg::Task( ScriptThreadEventCategory::PerformanceTimelineTask, Box::new(canceller.wrap_task(task)), - Some(self.1) + Some(self.1), + PerformanceTimelineTaskSource::NAME, ); self.0.send(msg).map_err(|_| ()) } |