mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #16983 - emilio:indir-data, r=nox
style: Remove unneeded indirection in traversal code. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16983) <!-- Reviewable:end -->
This commit is contained in:
commit
e24d96cdd0
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