mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Use parking_lot::RwLock instead of DOMRefCell for PropertyDeclarationBlock
This commit is contained in:
parent
d986fd2d2f
commit
89a29a7f12
24 changed files with 121 additions and 106 deletions
|
@ -383,7 +383,7 @@ fn compute_style_for_animation_step(context: &SharedStyleContext,
|
|||
// TODO: avoiding this spurious clone might involve having to create
|
||||
// an Arc in the below (more common case).
|
||||
KeyframesStepValue::ComputedValues => style_from_cascade.clone(),
|
||||
KeyframesStepValue::Declarations(ref declarations) => {
|
||||
KeyframesStepValue::Declarations { block: ref declarations } => {
|
||||
let declaration_block = ApplicableDeclarationBlock {
|
||||
mixed_declarations: declarations.clone(),
|
||||
importance: Importance::Normal,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue