style: Remove get_ prefix from get_state and get_id.

This commit is contained in:
Emilio Cobos Álvarez 2018-02-24 21:25:16 +01:00
parent b8fb41da0c
commit 98c9292ecb
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
10 changed files with 27 additions and 25 deletions

View file

@ -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()
}