aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbors-servo <release+servo@mozilla.com>2014-02-25 09:22:38 -0500
committerbors-servo <release+servo@mozilla.com>2014-02-25 09:22:38 -0500
commit2ee3024447bb0c398e76568c81c77ab6615b8c17 (patch)
treefd039ac51ef03cdafc4cdf8352999f99150de80a /src
parentee19709bf9897991592a4446e9b84a4c58474515 (diff)
parent09a8df8a55945c9a05e50bf40682c180b82cbd50 (diff)
downloadservo-2ee3024447bb0c398e76568c81c77ab6615b8c17.tar.gz
servo-2ee3024447bb0c398e76568c81c77ab6615b8c17.zip
auto merge of #1747 : Ms2ger/servo/duplicated-code, r=jdm
Diffstat (limited to 'src')
-rw-r--r--src/components/main/layout/layout_task.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/components/main/layout/layout_task.rs b/src/components/main/layout/layout_task.rs
index 2f70d0ea499..b8e8b022c9a 100644
--- a/src/components/main/layout/layout_task.rs
+++ b/src/components/main/layout/layout_task.rs
@@ -557,16 +557,6 @@ impl LayoutTask {
None
};
- // Create a font context, if this is sequential.
- //
- // FIXME(pcwalton): This is a pretty bogus thing to do. Essentially this is a workaround
- // for libgreen having slow TLS.
- let mut font_context_opt = if self.parallel_traversal.is_none() {
- Some(~FontContext::new(layout_ctx.font_context_info.clone()))
- } else {
- None
- };
-
let mut layout_root = profile(time::LayoutStyleRecalcCategory,
self.profiler_chan.clone(),
|| {