aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/sequential.rs
diff options
context:
space:
mode:
authorBobby Holley <bobbyholley@gmail.com>2015-11-17 14:20:47 -0800
committerBobby Holley <bobbyholley@gmail.com>2015-11-18 17:23:29 -0800
commit54f2700ba6028df6c49c005be6a63add34292484 (patch)
tree58ec8a02839cf75012aa5bdbd938efb857a7b17a /components/layout/sequential.rs
parentacbe41305230a926458596444ca955eff063d9dd (diff)
downloadservo-54f2700ba6028df6c49c005be6a63add34292484.tar.gz
servo-54f2700ba6028df6c49c005be6a63add34292484.zip
Hoist exported wrapper functionality into a family of traits.
All the existing code still uses the concrete implementations, so this shouldn't impact the generated code at all.
Diffstat (limited to 'components/layout/sequential.rs')
-rw-r--r--components/layout/sequential.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/sequential.rs b/components/layout/sequential.rs
index 9202ef2ea8a..87d9096402d 100644
--- a/components/layout/sequential.rs
+++ b/components/layout/sequential.rs
@@ -19,7 +19,7 @@ use traversal::{BuildDisplayList, ComputeAbsolutePositions};
use traversal::{PostorderDomTraversal, PreorderDomTraversal};
use util::geometry::ZERO_POINT;
use util::opts;
-use wrapper::LayoutNode;
+use wrapper::{LayoutNode, LayoutNodeTrait};
pub fn traverse_dom_preorder(root: LayoutNode,
shared_layout_context: &SharedLayoutContext) {