diff options
author | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2014-05-07 11:40:32 -0700 |
---|---|---|
committer | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2014-05-07 15:05:59 -0700 |
commit | 8c6eb08dcbc163cdca836bec21f89210a133085e (patch) | |
tree | d51efd59e57e7194f2bfb84cf9fa1789676cdcfc /src/components/main/layout/construct.rs | |
parent | 15d3257a29125103e368787f7e9790ee4314b29f (diff) | |
download | servo-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.rs | 2 |
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, |