mirror of
https://github.com/servo/servo.git
synced 2025-07-31 11:10:22 +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),
|
LiveDOMReferences::cleanup(addr),
|
||||||
MainThreadScriptMsg::Common(CommonScriptMsg::CollectReports(reports_chan)) =>
|
MainThreadScriptMsg::Common(CommonScriptMsg::CollectReports(reports_chan)) =>
|
||||||
self.collect_reports(reports_chan),
|
self.collect_reports(reports_chan),
|
||||||
MainThreadScriptMsg::DOMManipulation(msg) =>
|
MainThreadScriptMsg::DOMManipulation(task) =>
|
||||||
msg.handle_msg(self),
|
task.handle_task(self),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ pub enum DOMManipulationTask {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl DOMManipulationTask {
|
impl DOMManipulationTask {
|
||||||
pub fn handle_msg(self, script_thread: &ScriptThread) {
|
pub fn handle_task(self, script_thread: &ScriptThread) {
|
||||||
use self::DOMManipulationTask::*;
|
use self::DOMManipulationTask::*;
|
||||||
|
|
||||||
match self {
|
match self {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue