mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Bug 1341372 - Part 7: Rename needs_update_animations.
MozReview-Commit-ID: 2bJlBbdX543
This commit is contained in:
parent
eb8db7b892
commit
5a1582ca4d
1 changed files with 2 additions and 2 deletions
|
@ -531,7 +531,7 @@ trait PrivateMatchMethods: TElement {
|
|||
}
|
||||
|
||||
#[cfg(feature = "gecko")]
|
||||
fn needs_update_animations(&self,
|
||||
fn needs_animations_update(&self,
|
||||
old_values: &Option<Arc<ComputedValues>>,
|
||||
new_values: &Arc<ComputedValues>,
|
||||
pseudo: Option<&PseudoElement>) -> bool {
|
||||
|
@ -567,7 +567,7 @@ trait PrivateMatchMethods: TElement {
|
|||
|
||||
let pseudo = pseudo_style.map(|(p, _)| p);
|
||||
let mut tasks = UpdateAnimationsTasks::empty();
|
||||
if self.needs_update_animations(old_values, new_values, pseudo) {
|
||||
if self.needs_animations_update(old_values, new_values, pseudo) {
|
||||
tasks.insert(CSS_ANIMATIONS);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue