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

@ -31,13 +31,13 @@ use net_traits::CoreResourceMsg::WebsocketConnect;
use net_traits::MessageData;
use script_runtime::CommonScriptMsg;
use script_runtime::ScriptThreadEventCategory::WebSocketEvent;
use script_thread::{Task, TaskCanceller};
use servo_url::ServoUrl;
use std::ascii::AsciiExt;
use std::borrow::ToOwned;
use std::cell::Cell;
use std::ptr;
use std::thread;
use task::{Task, TaskCanceller};
use task_source::TaskSource;
use task_source::networking::NetworkingTaskSource;