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:
Simon Sapin 2016-06-23 16:02:33 +02:00
parent 0fb5d634a0
commit f7f81e0ed0
12 changed files with 481 additions and 11 deletions

View file

@ -10,13 +10,13 @@ use gfx_traits::{ByteIndex, LayerId, LayerType};
use msg::constellation_msg::PipelineId;
use range::Range;
use restyle_damage::RestyleDamage;
use std::cell::{Ref, RefCell};
use std::sync::Arc;
use string_cache::{Atom, BorrowedAtom, BorrowedNamespace, Namespace};
use style::computed_values::display;
use style::dom::OpaqueNode;
use style::dom::{PresentationalHintsSynthetizer, TNode};
use style::properties::ServoComputedValues;
use style::refcell::{Ref, RefCell};
use style::selector_impl::{PseudoElement, PseudoElementCascadeType, ServoSelectorImpl};
use style::servo::SharedStyleContext;
use url::Url;