mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Move all PropertyDeclarationBlock from RwLock<_> to Locked<_>
This commit is contained in:
parent
aeffca2a59
commit
1bacd0eb15
28 changed files with 321 additions and 208 deletions
|
@ -415,7 +415,7 @@ fn compute_style_for_animation_step(context: &SharedStyleContext,
|
|||
match step.value {
|
||||
KeyframesStepValue::ComputedValues => style_from_cascade.clone(),
|
||||
KeyframesStepValue::Declarations { block: ref declarations } => {
|
||||
let guard = declarations.read();
|
||||
let guard = declarations.read_with(context.guards.author);
|
||||
|
||||
// No !important in keyframes.
|
||||
debug_assert!(guard.declarations().iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue