mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00: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
|
@ -42,6 +42,10 @@ impl CSSGroupingRule {
|
|||
RulesSource::Rules(self.rules.clone())))
|
||||
}
|
||||
|
||||
pub fn parent_stylesheet(&self) -> &CSSStyleSheet {
|
||||
self.cssrule.parent_stylesheet()
|
||||
}
|
||||
|
||||
pub fn shared_lock(&self) -> &SharedRwLock {
|
||||
self.cssrule.shared_lock()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue