mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
add Runnable::name() implementation for PlannedNavigation resolve #12333
This commit is contained in:
parent
01ec8491d3
commit
636e63f166
1 changed files with 2 additions and 0 deletions
|
@ -936,6 +936,8 @@ struct PlannedNavigation {
|
|||
}
|
||||
|
||||
impl Runnable for PlannedNavigation {
|
||||
fn name(&self) -> &'static str { "PlannedNavigation" }
|
||||
|
||||
fn handler(self: Box<PlannedNavigation>) {
|
||||
if self.generation_id == self.form.root().generation_id.get() {
|
||||
let script_chan = self.script_chan.clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue