mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Rename DOM manipulation messages to tasks
This commit is contained in:
parent
ce302c78c1
commit
12a96f7194
2 changed files with 3 additions and 3 deletions
|
@ -932,8 +932,8 @@ impl ScriptThread {
|
|||
LiveDOMReferences::cleanup(addr),
|
||||
MainThreadScriptMsg::Common(CommonScriptMsg::CollectReports(reports_chan)) =>
|
||||
self.collect_reports(reports_chan),
|
||||
MainThreadScriptMsg::DOMManipulation(msg) =>
|
||||
msg.handle_msg(self),
|
||||
MainThreadScriptMsg::DOMManipulation(task) =>
|
||||
task.handle_task(self),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ pub enum DOMManipulationTask {
|
|||
}
|
||||
|
||||
impl DOMManipulationTask {
|
||||
pub fn handle_msg(self, script_thread: &ScriptThread) {
|
||||
pub fn handle_task(self, script_thread: &ScriptThread) {
|
||||
use self::DOMManipulationTask::*;
|
||||
|
||||
match self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue