style: Remove the get_ prefix from get_smil_override, and other animation stuff.

This commit is contained in:
Emilio Cobos Álvarez 2018-02-24 21:06:53 +01:00
parent c5bfc81b74
commit 607cf5aa3c
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
4 changed files with 15 additions and 22 deletions

View file

@ -1060,7 +1060,7 @@ impl<'le> TElement for GeckoElement<'le> {
unsafe { Gecko_UnsetDirtyStyleAttr(self.0) };
}
fn get_smil_override(&self) -> Option<ArcBorrow<Locked<PropertyDeclarationBlock>>> {
fn smil_override(&self) -> Option<ArcBorrow<Locked<PropertyDeclarationBlock>>> {
unsafe {
let slots = self.get_extended_slots()?;
@ -1084,15 +1084,11 @@ impl<'le> TElement for GeckoElement<'le> {
}
}
fn get_animation_rule(
&self,
) -> Option<Arc<Locked<PropertyDeclarationBlock>>> {
fn animation_rule(&self) -> Option<Arc<Locked<PropertyDeclarationBlock>>> {
get_animation_rule(self, CascadeLevel::Animations)
}
fn get_transition_rule(
&self,
) -> Option<Arc<Locked<PropertyDeclarationBlock>>> {
fn transition_rule(&self) -> Option<Arc<Locked<PropertyDeclarationBlock>>> {
get_animation_rule(self, CascadeLevel::Transitions)
}