mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Replace more RwLock<MediaList> with shared_lock::Locked<MediaList>
This commit is contained in:
parent
fe4e70c5f8
commit
600152bd00
8 changed files with 79 additions and 38 deletions
|
@ -28,6 +28,10 @@ impl CSSConditionRule {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn parent_stylesheet(&self) -> &CSSStyleSheet {
|
||||
self.cssgroupingrule.parent_stylesheet()
|
||||
}
|
||||
|
||||
pub fn shared_lock(&self) -> &SharedRwLock {
|
||||
self.cssgroupingrule.shared_lock()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue