mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +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 {
|
impl Runnable for DetailsNotificationRunnable {
|
||||||
|
fn name(&self) -> &'static str { "DetailsNotificationRunnable" }
|
||||||
|
|
||||||
fn handler(self: Box<DetailsNotificationRunnable>) {
|
fn handler(self: Box<DetailsNotificationRunnable>) {
|
||||||
let target = self.element.root();
|
let target = self.element.root();
|
||||||
if target.check_toggle_count(self.toggle_number) {
|
if target.check_toggle_count(self.toggle_number) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue