mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Remove get_
prefix on getters
Part of #6224 I certainly didn't remove all of them; I avoided `unsafe` areas and also `components/script`
This commit is contained in:
parent
c63fc4dc13
commit
435e551753
21 changed files with 62 additions and 70 deletions
|
@ -264,7 +264,7 @@ impl Actor for TimelineActor {
|
|||
}
|
||||
|
||||
let emitter = Emitter::new(self.name(), registry.get_shareable(),
|
||||
registry.get_start_stamp(),
|
||||
registry.start_stamp(),
|
||||
stream.try_clone().unwrap(),
|
||||
self.memory_actor.borrow().clone(),
|
||||
self.framerate_actor.borrow().clone());
|
||||
|
@ -273,8 +273,7 @@ impl Actor for TimelineActor {
|
|||
|
||||
let msg = StartReply {
|
||||
from: self.name(),
|
||||
value: HighResolutionStamp::new(registry.get_start_stamp(),
|
||||
PreciseTime::now()),
|
||||
value: HighResolutionStamp::new(registry.start_stamp(), PreciseTime::now()),
|
||||
};
|
||||
stream.write_json_packet(&msg);
|
||||
true
|
||||
|
@ -283,8 +282,7 @@ impl Actor for TimelineActor {
|
|||
"stop" => {
|
||||
let msg = StopReply {
|
||||
from: self.name(),
|
||||
value: HighResolutionStamp::new(registry.get_start_stamp(),
|
||||
PreciseTime::now()),
|
||||
value: HighResolutionStamp::new(registry.start_stamp(), PreciseTime::now()),
|
||||
};
|
||||
|
||||
stream.write_json_packet(&msg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue