mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Move Task to its own module
This commit is contained in:
parent
8e78f18d2d
commit
46628fba05
33 changed files with 115 additions and 90 deletions
|
@ -33,7 +33,6 @@ use js::rust::Runtime;
|
|||
use net_traits::{IpcSend, load_whole_resource};
|
||||
use net_traits::request::{CredentialsMode, Destination, RequestInit as NetRequestInit, Type as RequestType};
|
||||
use script_runtime::{CommonScriptMsg, ScriptChan, ScriptPort, get_reports};
|
||||
use script_thread::TaskCanceller;
|
||||
use script_traits::{TimerEvent, TimerEventId};
|
||||
use script_traits::WorkerGlobalScopeInit;
|
||||
use servo_url::{MutableOrigin, ServoUrl};
|
||||
|
@ -42,6 +41,7 @@ use std::rc::Rc;
|
|||
use std::sync::Arc;
|
||||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
use std::sync::mpsc::Receiver;
|
||||
use task::TaskCanceller;
|
||||
use task_source::file_reading::FileReadingTaskSource;
|
||||
use task_source::networking::NetworkingTaskSource;
|
||||
use task_source::performance_timeline::PerformanceTimelineTaskSource;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue