diff options
author | Bobby Holley <bobbyholley@gmail.com> | 2016-10-26 16:54:36 -0700 |
---|---|---|
committer | Bobby Holley <bobbyholley@gmail.com> | 2016-10-27 10:22:33 -0700 |
commit | 2fce2fbb0c5a6d85af76d6d74c51bf9c85b901f2 (patch) | |
tree | 7605657f85b6aac514f06d2669da04a8e1cc6384 /components/script/layout_wrapper.rs | |
parent | 1090abae877bb6624e49b34540682a389e7daaac (diff) | |
download | servo-2fce2fbb0c5a6d85af76d6d74c51bf9c85b901f2.tar.gz servo-2fce2fbb0c5a6d85af76d6d74c51bf9c85b901f2.zip |
Move all *MatchMethods to TElement.
MozReview-Commit-ID: 3V6JIlOVVhw
Diffstat (limited to 'components/script/layout_wrapper.rs')
-rw-r--r-- | components/script/layout_wrapper.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/layout_wrapper.rs b/components/script/layout_wrapper.rs index b5e1c5a4f60..75bdd55aedc 100644 --- a/components/script/layout_wrapper.rs +++ b/components/script/layout_wrapper.rs @@ -133,7 +133,6 @@ impl<'ln> NodeInfo for ServoLayoutNode<'ln> { impl<'ln> TNode for ServoLayoutNode<'ln> { type ConcreteElement = ServoLayoutElement<'ln>; type ConcreteDocument = ServoLayoutDocument<'ln>; - type ConcreteRestyleDamage = RestyleDamage; type ConcreteChildrenIterator = ServoChildrenIterator<'ln>; fn to_unsafe(&self) -> UnsafeNode { @@ -470,6 +469,7 @@ impl<'le> PresentationalHintsSynthetizer for ServoLayoutElement<'le> { impl<'le> TElement for ServoLayoutElement<'le> { type ConcreteNode = ServoLayoutNode<'le>; type ConcreteDocument = ServoLayoutDocument<'le>; + type ConcreteRestyleDamage = RestyleDamage; fn as_node(&self) -> ServoLayoutNode<'le> { ServoLayoutNode::from_layout_js(self.element.upcast()) |