mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Add name method for Runnable trait in DocumentProgressHandler
This commit is contained in:
parent
4ec4592e96
commit
3c9d7a6627
1 changed files with 2 additions and 0 deletions
|
@ -2869,6 +2869,8 @@ impl DocumentProgressHandler {
|
|||
}
|
||||
|
||||
impl Runnable for DocumentProgressHandler {
|
||||
fn name(&self) -> &'static str { "DocumentProgressHandler" }
|
||||
|
||||
fn handler(self: Box<DocumentProgressHandler>) {
|
||||
let document = self.addr.root();
|
||||
let window = document.window();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue