mirror of
https://github.com/servo/servo.git
synced 2025-08-01 19:50:30 +01: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 {
|
impl Runnable for PlannedNavigation {
|
||||||
|
fn name(&self) -> &'static str { "PlannedNavigation" }
|
||||||
|
|
||||||
fn handler(self: Box<PlannedNavigation>) {
|
fn handler(self: Box<PlannedNavigation>) {
|
||||||
if self.generation_id == self.form.root().generation_id.get() {
|
if self.generation_id == self.form.root().generation_id.get() {
|
||||||
let script_chan = self.script_chan.clone();
|
let script_chan = self.script_chan.clone();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue