Move Task to its own module

This commit is contained in:
Anthony Ramine 2017-09-17 16:41:54 +02:00
parent 8e78f18d2d
commit 46628fba05
33 changed files with 115 additions and 90 deletions

View file

@ -32,7 +32,6 @@ use dom::promise::Promise;
use js::jsapi::JSAutoCompartment;
use js::jsapi::JSTracer;
use libc;
use script_thread::Task;
use std::cell::RefCell;
use std::collections::hash_map::Entry::{Occupied, Vacant};
use std::collections::hash_map::HashMap;
@ -41,6 +40,7 @@ use std::marker::PhantomData;
use std::os;
use std::rc::Rc;
use std::sync::{Arc, Weak};
use task::Task;
#[allow(missing_docs)] // FIXME