aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/layout/construct.rs
diff options
context:
space:
mode:
authorBrendan Zabarauskas <bjzaba@yahoo.com.au>2014-05-07 11:40:32 -0700
committerBrendan Zabarauskas <bjzaba@yahoo.com.au>2014-05-07 15:05:59 -0700
commit8c6eb08dcbc163cdca836bec21f89210a133085e (patch)
treed51efd59e57e7194f2bfb84cf9fa1789676cdcfc /src/components/main/layout/construct.rs
parent15d3257a29125103e368787f7e9790ee4314b29f (diff)
downloadservo-8c6eb08dcbc163cdca836bec21f89210a133085e.tar.gz
servo-8c6eb08dcbc163cdca836bec21f89210a133085e.zip
Make range generic
Diffstat (limited to 'src/components/main/layout/construct.rs')
-rw-r--r--src/components/main/layout/construct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/main/layout/construct.rs b/src/components/main/layout/construct.rs
index e7523039551..a2236b6753d 100644
--- a/src/components/main/layout/construct.rs
+++ b/src/components/main/layout/construct.rs
@@ -189,7 +189,7 @@ impl InlineBoxAccumulator {
fn from_inline_node(node: &ThreadSafeLayoutNode) -> InlineBoxAccumulator {
let mut boxes = InlineBoxes::new();
- boxes.map.push(node.style().clone(), Range::new(0, 0));
+ boxes.map.push(node.style().clone(), Range::new(0u, 0));
InlineBoxAccumulator {
boxes: boxes,
has_enclosing_range: true,