mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add name method to Runnable trait
This commit is contained in:
parent
d6f4dc06df
commit
54cf3afe30
2 changed files with 3 additions and 0 deletions
|
@ -181,6 +181,8 @@ impl StorageEventRunnable {
|
|||
}
|
||||
|
||||
impl Runnable for StorageEventRunnable {
|
||||
fn name(&self) -> &'static str { "StorageEventRunnable" }
|
||||
|
||||
fn main_thread_handler(self: Box<StorageEventRunnable>, script_thread: &ScriptThread) {
|
||||
let this = *self;
|
||||
let storage_root = this.element.root();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue