mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Remove 'get_*' on getters as per RFC 0344 on various components
This commit is contained in:
parent
2733060564
commit
7320433cca
30 changed files with 167 additions and 168 deletions
|
@ -82,7 +82,7 @@ impl ActorRegistry {
|
|||
}
|
||||
|
||||
/// Get shareable registry through threads
|
||||
pub fn get_shareable(&self) -> Arc<Mutex<ActorRegistry>> {
|
||||
pub fn shareable(&self) -> Arc<Mutex<ActorRegistry>> {
|
||||
self.shareable.as_ref().unwrap().clone()
|
||||
}
|
||||
|
||||
|
|
|
@ -204,7 +204,7 @@ impl Actor for TimelineActor {
|
|||
}
|
||||
}
|
||||
|
||||
let emitter = Emitter::new(self.name(), registry.get_shareable(),
|
||||
let emitter = Emitter::new(self.name(), registry.shareable(),
|
||||
registry.start_stamp(),
|
||||
stream.try_clone().unwrap(),
|
||||
self.memory_actor.borrow().clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue