mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Replace RwLock<Keyframe> with Locked<Keyframe>
This commit is contained in:
parent
adb97d4cbe
commit
57724e5a37
8 changed files with 64 additions and 44 deletions
|
@ -280,7 +280,8 @@ impl Stylist {
|
|||
CssRule::Keyframes(ref keyframes_rule) => {
|
||||
let keyframes_rule = keyframes_rule.read_with(guard);
|
||||
debug!("Found valid keyframes rule: {:?}", *keyframes_rule);
|
||||
let animation = KeyframesAnimation::from_keyframes(&keyframes_rule.keyframes);
|
||||
let animation = KeyframesAnimation::from_keyframes(
|
||||
&keyframes_rule.keyframes, guard);
|
||||
debug!("Found valid keyframe animation: {:?}", animation);
|
||||
self.animations.insert(keyframes_rule.name.clone(), animation);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue