mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Use our copy of RefCell for style data.
This allows removing `#![feature(as_unsafe_cell)]` in geckolib and make progress towards #11815.
This commit is contained in:
parent
0fb5d634a0
commit
f7f81e0ed0
12 changed files with 481 additions and 11 deletions
|
@ -8,12 +8,12 @@ use context::SharedStyleContext;
|
|||
use data::PrivateStyleData;
|
||||
use element_state::ElementState;
|
||||
use properties::{ComputedValues, PropertyDeclaration, PropertyDeclarationBlock};
|
||||
use refcell::{Ref, RefMut};
|
||||
use restyle_hints::{ElementSnapshot, RESTYLE_DESCENDANTS, RESTYLE_LATER_SIBLINGS, RESTYLE_SELF, RestyleHint};
|
||||
use selector_impl::{ElementExt, SelectorImplExt};
|
||||
use selectors::Element;
|
||||
use selectors::matching::DeclarationBlock;
|
||||
use smallvec::VecLike;
|
||||
use std::cell::{Ref, RefMut};
|
||||
use std::ops::BitOr;
|
||||
use std::sync::Arc;
|
||||
use string_cache::{Atom, Namespace};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue