mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Remove get_ prefix from get_state and get_id.
This commit is contained in:
parent
b8fb41da0c
commit
98c9292ecb
10 changed files with 27 additions and 25 deletions
|
@ -372,7 +372,7 @@ impl<'le> TElement for ServoLayoutElement<'le> {
|
|||
}
|
||||
}
|
||||
|
||||
fn get_state(&self) -> ElementState {
|
||||
fn state(&self) -> ElementState {
|
||||
self.element.get_state_for_layout()
|
||||
}
|
||||
|
||||
|
@ -382,7 +382,7 @@ impl<'le> TElement for ServoLayoutElement<'le> {
|
|||
}
|
||||
|
||||
#[inline]
|
||||
fn get_id(&self) -> Option<Atom> {
|
||||
fn id(&self) -> Option<Atom> {
|
||||
unsafe {
|
||||
(*self.element.id_attribute()).clone()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue