aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface/lib.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-11-07 16:31:10 -0600
committerGitHub <noreply@github.com>2016-11-07 16:31:10 -0600
commitd8ac5100e81ccbad4b5131688b96bedb9b5e279d (patch)
tree50e4518ec7459d74feeb6b4ea15f453238af31f1 /components/script_layout_interface/lib.rs
parentf1c3e97fb47b6fbe1d82ebb30a38ab7afd4fe0b8 (diff)
parenta2c7a9d0fb7174f9188640ba2fb5a3df7821c1a8 (diff)
downloadservo-d8ac5100e81ccbad4b5131688b96bedb9b5e279d.tar.gz
servo-d8ac5100e81ccbad4b5131688b96bedb9b5e279d.zip
Auto merge of #14034 - bholley:more_concrete_types, r=emilio
incremental restyle: Use more concrete types in the style system We need to hang both snapshots and restyle damage off of ElementData, and so we need them to be concrete to avoid infecting ElementData with the trait hierarchy. <!-- 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/14034) <!-- Reviewable:end -->
Diffstat (limited to 'components/script_layout_interface/lib.rs')
-rw-r--r--components/script_layout_interface/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script_layout_interface/lib.rs b/components/script_layout_interface/lib.rs
index b442e502b2b..284f6f33498 100644
--- a/components/script_layout_interface/lib.rs
+++ b/components/script_layout_interface/lib.rs
@@ -41,7 +41,6 @@ extern crate url;
pub mod message;
pub mod reporter;
-pub mod restyle_damage;
pub mod rpc;
pub mod wrapper_traits;
@@ -49,10 +48,10 @@ use canvas_traits::CanvasMsg;
use core::nonzero::NonZero;
use ipc_channel::ipc::IpcSender;
use libc::c_void;
-use restyle_damage::RestyleDamage;
use std::sync::atomic::AtomicIsize;
use style::atomic_refcell::AtomicRefCell;
use style::data::ElementData;
+use style::selector_impl::RestyleDamage;
pub struct PartialPersistentLayoutData {
/// Data that the style system associates with a node. When the