diff options
author | Bobby Holley <bobbyholley@gmail.com> | 2016-10-28 14:01:07 -0700 |
---|---|---|
committer | Bobby Holley <bobbyholley@gmail.com> | 2016-10-29 14:58:07 -0700 |
commit | be89f736751d63307c01750f98d5c07a1e940add (patch) | |
tree | 6cd08307470e9cc337906794fc853205e7c784e4 /components/script_layout_interface/wrapper_traits.rs | |
parent | 5442fbec3f5a4d00c6cc61adfefc0ae747194db2 (diff) | |
download | servo-be89f736751d63307c01750f98d5c07a1e940add.tar.gz servo-be89f736751d63307c01750f98d5c07a1e940add.zip |
Rename NodeData and associated data structures to Element*.
MozReview-Commit-ID: 96VsmsoZtjZ
Diffstat (limited to 'components/script_layout_interface/wrapper_traits.rs')
-rw-r--r-- | components/script_layout_interface/wrapper_traits.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script_layout_interface/wrapper_traits.rs b/components/script_layout_interface/wrapper_traits.rs index 416d04d9522..470685979b7 100644 --- a/components/script_layout_interface/wrapper_traits.rs +++ b/components/script_layout_interface/wrapper_traits.rs @@ -18,7 +18,7 @@ use string_cache::{Atom, Namespace}; use style::atomic_refcell::AtomicRefCell; use style::computed_values::display; use style::context::SharedStyleContext; -use style::data::NodeData; +use style::data::ElementData; use style::dom::{LayoutIterator, NodeInfo, PresentationalHintsSynthetizer, TElement, TNode}; use style::dom::OpaqueNode; use style::properties::ServoComputedValues; @@ -274,7 +274,7 @@ pub trait DangerousThreadSafeLayoutNode: ThreadSafeLayoutNode { } pub trait LayoutElement: Clone + Copy + Sized + Debug + GetLayoutData + TElement { - fn get_style_data(&self) -> Option<&AtomicRefCell<NodeData>>; + fn get_style_data(&self) -> Option<&AtomicRefCell<ElementData>>; } pub trait ThreadSafeLayoutElement: Clone + Copy + Sized + Debug + @@ -296,7 +296,7 @@ pub trait ThreadSafeLayoutElement: Clone + Copy + Sized + Debug + #[inline] fn get_attr(&self, namespace: &Namespace, name: &Atom) -> Option<&str>; - fn get_style_data(&self) -> Option<&AtomicRefCell<NodeData>>; + fn get_style_data(&self) -> Option<&AtomicRefCell<ElementData>>; #[inline] fn get_pseudo_element_type(&self) -> PseudoElementType<Option<display::T>>; |