diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-06-23 09:19:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-23 09:19:28 -0500 |
commit | 3de14d9ca0cf54e6a2ae4eac5ff47e38e724b77b (patch) | |
tree | 146663967a55d8f72997b1da71f8b973579ebd6b /components/script_layout_interface/wrapper_traits.rs | |
parent | 14dc1199dfe9c3815c580a73452e7bf4ba26998d (diff) | |
parent | 6807bb615fc4c151dd6cee49ba6a023d4c741d71 (diff) | |
download | servo-3de14d9ca0cf54e6a2ae4eac5ff47e38e724b77b.tar.gz servo-3de14d9ca0cf54e6a2ae4eac5ff47e38e724b77b.zip |
Auto merge of #11835 - servo:diy-as-unsafe-cell, r=nox
Use our copy of RefCell for style data
<!-- Please describe your changes on the following line: -->
This allows removing `#![feature(as_unsafe_cell)]` in geckolib and make progress towards #11815.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix part of #11815.
<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require new tests because they don’t introduce no functional changes.
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11835)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script_layout_interface/wrapper_traits.rs')
-rw-r--r-- | components/script_layout_interface/wrapper_traits.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_layout_interface/wrapper_traits.rs b/components/script_layout_interface/wrapper_traits.rs index 145f9dd067b..a816321ec28 100644 --- a/components/script_layout_interface/wrapper_traits.rs +++ b/components/script_layout_interface/wrapper_traits.rs @@ -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; |