diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2017-09-20 09:40:53 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2017-09-20 09:40:53 +0200 |
commit | f088b708c93e0a131cbfccf5c9b3797018f1c4ee (patch) | |
tree | d75727ac812624a7bee2b0bb827616af0540d99b /components/script/script_runtime.rs | |
parent | 8000efac75c96f87a5e242be84b246f98a1b61e5 (diff) | |
download | servo-f088b708c93e0a131cbfccf5c9b3797018f1c4ee.tar.gz servo-f088b708c93e0a131cbfccf5c9b3797018f1c4ee.zip |
Make Task require Send
Diffstat (limited to 'components/script/script_runtime.rs')
-rw-r--r-- | components/script/script_runtime.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_runtime.rs b/components/script/script_runtime.rs index 270dd0cdafe..45f3d6a7ea3 100644 --- a/components/script/script_runtime.rs +++ b/components/script/script_runtime.rs @@ -44,7 +44,7 @@ pub enum CommonScriptMsg { /// supplied channel. CollectReports(ReportsChan), /// Generic message that encapsulates event handling. - Task(ScriptThreadEventCategory, Box<Task + Send>), + Task(ScriptThreadEventCategory, Box<Task>), } impl fmt::Debug for CommonScriptMsg { |