aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_runtime.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2017-09-17 16:41:54 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2017-09-18 02:47:04 +0200
commit46628fba05a548c1c2141d7c709b6e5d812f3114 (patch)
treed4259a3a2b0255227111c1ad1e28aeec37c43a45 /components/script/script_runtime.rs
parent8e78f18d2d282e651c5a8a20b2fe28cb015b264a (diff)
downloadservo-46628fba05a548c1c2141d7c709b6e5d812f3114.tar.gz
servo-46628fba05a548c1c2141d7c709b6e5d812f3114.zip
Move Task to its own module
Diffstat (limited to 'components/script/script_runtime.rs')
-rw-r--r--components/script/script_runtime.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/script_runtime.rs b/components/script/script_runtime.rs
index b12649668e5..270dd0cdafe 100644
--- a/components/script/script_runtime.rs
+++ b/components/script/script_runtime.rs
@@ -23,7 +23,7 @@ use js::panic::wrap_panic;
use js::rust::Runtime;
use microtask::{EnqueuedPromiseCallback, Microtask};
use profile_traits::mem::{Report, ReportKind, ReportsChan};
-use script_thread::{STACK_ROOTS, Task, trace_thread};
+use script_thread::{STACK_ROOTS, trace_thread};
use servo_config::opts;
use servo_config::prefs::PREFS;
use std::cell::Cell;
@@ -35,6 +35,7 @@ use std::os::raw::c_void;
use std::panic::AssertUnwindSafe;
use std::ptr;
use style::thread_state;
+use task::Task;
use time::{Tm, now};
/// Common messages used to control the event loops in both the script and the worker