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

@ -10,8 +10,8 @@ pub mod performance_timeline;
pub mod user_interaction;
use dom::globalscope::GlobalScope;
use script_thread::{Task, TaskCanceller};
use std::result::Result;
use task::{Task, TaskCanceller};
pub trait TaskSource {
fn queue_with_canceller<T>(