mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
move name implementation as default implementation to the trait and remove overrides.
This commit is contained in:
parent
a3df0cf4de
commit
99e4504f85
13 changed files with 1 additions and 45 deletions
|
@ -213,8 +213,6 @@ impl NotifyPerformanceObserverRunnable {
|
|||
}
|
||||
|
||||
impl Runnable for NotifyPerformanceObserverRunnable {
|
||||
fn name(&self) -> &'static str { "NotifyPerformanceObserverRunnable" }
|
||||
|
||||
fn main_thread_handler(self: Box<NotifyPerformanceObserverRunnable>,
|
||||
_: &ScriptThread) {
|
||||
self.owner.root().notify_observers();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue