Add name method for Runnable trait in DocumentProgressHandler

This commit is contained in:
Andrew Savchyn 2016-07-08 10:57:58 +02:00
parent 4ec4592e96
commit 3c9d7a6627

View file

@ -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();