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
|
@ -138,7 +138,7 @@ impl NetworkEventActor {
|
|||
self.response.body = body.clone();
|
||||
}
|
||||
|
||||
pub fn get_event_actor(&self) -> EventActor {
|
||||
pub fn event_actor(&self) -> EventActor {
|
||||
// TODO: Send the correct values for startedDateTime, isXHR, private
|
||||
EventActor {
|
||||
actor: self.name(),
|
||||
|
@ -150,7 +150,7 @@ impl NetworkEventActor {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn get_response_start(&self) -> ResponseStartMsg {
|
||||
pub fn response_start(&self) -> ResponseStartMsg {
|
||||
// TODO: Send the correct values for all these fields.
|
||||
// This is a fake message.
|
||||
ResponseStartMsg {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue