mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Rename Task to TaskBox
This commit is contained in:
parent
f088b708c9
commit
52527d6f9d
19 changed files with 71 additions and 69 deletions
|
@ -35,7 +35,7 @@ use std::os::raw::c_void;
|
|||
use std::panic::AssertUnwindSafe;
|
||||
use std::ptr;
|
||||
use style::thread_state;
|
||||
use task::Task;
|
||||
use task::TaskBox;
|
||||
use time::{Tm, now};
|
||||
|
||||
/// Common messages used to control the event loops in both the script and the worker
|
||||
|
@ -44,7 +44,7 @@ pub enum CommonScriptMsg {
|
|||
/// supplied channel.
|
||||
CollectReports(ReportsChan),
|
||||
/// Generic message that encapsulates event handling.
|
||||
Task(ScriptThreadEventCategory, Box<Task>),
|
||||
Task(ScriptThreadEventCategory, Box<TaskBox>),
|
||||
}
|
||||
|
||||
impl fmt::Debug for CommonScriptMsg {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue