aboutsummaryrefslogtreecommitdiffstats
path: root/src/servo/layout/text.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/servo/layout/text.rs')
-rw-r--r--src/servo/layout/text.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/servo/layout/text.rs b/src/servo/layout/text.rs
index 63ec074ade3..8f4a956a96a 100644
--- a/src/servo/layout/text.rs
+++ b/src/servo/layout/text.rs
@@ -33,7 +33,7 @@ impl @Box : TextLayout {
// FIXME: The font library should not be initialized here
let flib = FontLibrary();
let font = flib.get_test_font();
- let run = TextRun(*font, subbox.text);
+ let run = TextRun(font, subbox.text);
self.bounds.size = run.size();
subbox.run = Some(run);
}