mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add name method for Runnable trait into DetailsNotificationRunnable
This commit is contained in:
parent
2d9d47315f
commit
de8be94691
1 changed files with 2 additions and 0 deletions
|
@ -90,6 +90,8 @@ pub struct DetailsNotificationRunnable {
|
|||
}
|
||||
|
||||
impl Runnable for DetailsNotificationRunnable {
|
||||
fn name(&self) -> &'static str { "DetailsNotificationRunnable" }
|
||||
|
||||
fn handler(self: Box<DetailsNotificationRunnable>) {
|
||||
let target = self.element.root();
|
||||
if target.check_toggle_count(self.toggle_number) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue