aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_runtime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/script_runtime.rs')
-rw-r--r--components/script/script_runtime.rs2
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 {