aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface/lib.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2016-06-23 16:02:33 +0200
committerSimon Sapin <simon.sapin@exyr.org>2016-06-23 16:13:49 +0200
commitf7f81e0ed0b62402db291e28a9bb16f7194ebf78 (patch)
tree56aee814aa967d2453d983822e3dae33c7c75fe2 /components/script_layout_interface/lib.rs
parent0fb5d634a007f3d0424f95569ac3f83d500d054c (diff)
downloadservo-f7f81e0ed0b62402db291e28a9bb16f7194ebf78.tar.gz
servo-f7f81e0ed0b62402db291e28a9bb16f7194ebf78.zip
Use our copy of RefCell for style data.
This allows removing `#![feature(as_unsafe_cell)]` in geckolib and make progress towards #11815.
Diffstat (limited to 'components/script_layout_interface/lib.rs')
-rw-r--r--components/script_layout_interface/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_layout_interface/lib.rs b/components/script_layout_interface/lib.rs
index c2e06e3dcf7..805deb45349 100644
--- a/components/script_layout_interface/lib.rs
+++ b/components/script_layout_interface/lib.rs
@@ -52,7 +52,7 @@ use core::nonzero::NonZero;
use ipc_channel::ipc::IpcSender;
use libc::c_void;
use restyle_damage::RestyleDamage;
-use std::cell::RefCell;
+use style::refcell::RefCell;
use style::servo::PrivateStyleData;
pub struct PartialStyleAndLayoutData {