mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Make PropertyDeclarationBlock fields private
This commit is contained in:
parent
da4e5146e9
commit
f70a49974a
8 changed files with 31 additions and 33 deletions
|
@ -1817,7 +1817,7 @@ pub fn cascade(viewport_size: Size2D<Au>,
|
|||
}).collect::<Vec<_>>();
|
||||
let iter_declarations = || {
|
||||
lock_guards.iter().flat_map(|&(ref source, source_importance)| {
|
||||
source.declarations.iter()
|
||||
source.declarations().iter()
|
||||
// Yield declarations later in source order (with more precedence) first.
|
||||
.rev()
|
||||
.filter_map(move |&(ref declaration, declaration_importance)| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue