mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00: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
|
@ -67,7 +67,7 @@ impl CSSKeyframesRule {
|
|||
// because that's the rule that applies. Thus, rposition
|
||||
self.keyframesrule.read_with(&guard)
|
||||
.keyframes.iter().rposition(|frame| {
|
||||
frame.read().selector == sel
|
||||
frame.read_with(&guard).selector == sel
|
||||
})
|
||||
} else {
|
||||
None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue