mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Make PropertyDeclarationBlock fields private
This commit is contained in:
parent
da4e5146e9
commit
f70a49974a
8 changed files with 31 additions and 33 deletions
|
@ -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 =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue