mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
style: Remove unneeded indirection in traversal code.
This commit is contained in:
parent
3d40b516c8
commit
d5f8b91d91
2 changed files with 12 additions and 12 deletions
|
@ -7,7 +7,6 @@
|
|||
#![allow(unsafe_code)]
|
||||
#![deny(missing_docs)]
|
||||
|
||||
use atomic_refcell::AtomicRefMut;
|
||||
use cascade_info::CascadeInfo;
|
||||
use context::{SelectorFlagsMap, SharedStyleContext, StyleContext};
|
||||
use data::{ComputedStyle, ElementData, RestyleData};
|
||||
|
@ -969,7 +968,7 @@ pub trait MatchMethods : TElement {
|
|||
fn replace_rules(&self,
|
||||
replacements: RestyleReplacements,
|
||||
context: &StyleContext<Self>,
|
||||
data: &mut AtomicRefMut<ElementData>)
|
||||
data: &mut ElementData)
|
||||
-> RulesChanged {
|
||||
use properties::PropertyDeclarationBlock;
|
||||
use shared_lock::Locked;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue