mirror of
https://github.com/servo/servo.git
synced 2025-06-23 08:34:42 +01:00
Replace RwLock<StyleRule> with Locked<StyleRule>
This commit is contained in:
parent
57724e5a37
commit
aeffca2a59
33 changed files with 279 additions and 334 deletions
|
@ -541,6 +541,7 @@ trait PrivateMatchMethods: TElement {
|
|||
let values =
|
||||
Arc::new(cascade(&shared_context.stylist.device,
|
||||
rule_node,
|
||||
&shared_context.guards,
|
||||
inherited_values,
|
||||
layout_parent_style,
|
||||
Some(&mut cascade_info),
|
||||
|
@ -784,6 +785,7 @@ pub trait MatchMethods : TElement {
|
|||
style_attribute,
|
||||
animation_rules,
|
||||
None,
|
||||
&context.shared.guards,
|
||||
&mut applicable_declarations,
|
||||
&mut flags);
|
||||
let primary_rule_node = compute_rule_node(context, &mut applicable_declarations);
|
||||
|
@ -809,6 +811,7 @@ pub trait MatchMethods : TElement {
|
|||
Some(context.thread_local.bloom_filter.filter()),
|
||||
None, pseudo_animation_rules,
|
||||
Some(&pseudo),
|
||||
&context.shared.guards,
|
||||
&mut applicable_declarations,
|
||||
&mut flags);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue