diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2017-03-07 19:30:51 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2017-03-07 23:37:32 +0100 |
commit | f70a49974a001e34cb65d55f315702966e29c6c3 (patch) | |
tree | 6b6650f7f4309b3cb522168ef61a5389a4c7552c /components/style/animation.rs | |
parent | da4e5146e97078ac1cf1b6ed28748bf581b4bdeb (diff) | |
download | servo-f70a49974a001e34cb65d55f315702966e29c6c3.tar.gz servo-f70a49974a001e34cb65d55f315702966e29c6c3.zip |
Make PropertyDeclarationBlock fields private
Diffstat (limited to 'components/style/animation.rs')
-rw-r--r-- | components/style/animation.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/style/animation.rs b/components/style/animation.rs index aa115527d57..bebda0e6339 100644 --- a/components/style/animation.rs +++ b/components/style/animation.rs @@ -418,11 +418,11 @@ fn compute_style_for_animation_step(context: &SharedStyleContext, let guard = declarations.read(); // No !important in keyframes. - debug_assert!(guard.declarations.iter() + debug_assert!(guard.declarations().iter() .all(|&(_, importance)| importance == Importance::Normal)); let iter = || { - guard.declarations.iter().rev().map(|&(ref decl, _importance)| decl) + guard.declarations().iter().rev().map(|&(ref decl, _importance)| decl) }; let computed = |