mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Kill Runnable::is_cancelled ⚔️
This commit is contained in:
parent
c68bc0c145
commit
17a1dd9385
3 changed files with 21 additions and 19 deletions
|
@ -71,8 +71,6 @@ impl fmt::Debug for DOMManipulationTask {
|
|||
|
||||
impl DOMManipulationTask {
|
||||
pub fn handle_task(self, script_thread: &ScriptThread) {
|
||||
if !self.0.is_cancelled() {
|
||||
self.0.main_thread_handler(script_thread);
|
||||
}
|
||||
self.0.main_thread_handler(script_thread);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,8 +62,6 @@ impl fmt::Debug for UserInteractionTask {
|
|||
|
||||
impl UserInteractionTask {
|
||||
pub fn handle_task(self, script_thread: &ScriptThread) {
|
||||
if !self.0.is_cancelled() {
|
||||
self.0.main_thread_handler(script_thread);
|
||||
}
|
||||
self.0.main_thread_handler(script_thread);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue