mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
move name implementation as default implementation to the trait and remove overrides.
This commit is contained in:
parent
a3df0cf4de
commit
99e4504f85
13 changed files with 1 additions and 45 deletions
|
@ -1116,8 +1116,6 @@ 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