mirror of
https://github.com/servo/servo.git
synced 2025-06-21 07:38:59 +01:00
auto merge of #1747 : Ms2ger/servo/duplicated-code, r=jdm
This commit is contained in:
commit
2ee3024447
1 changed files with 0 additions and 10 deletions
|
@ -557,16 +557,6 @@ impl LayoutTask {
|
||||||
None
|
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,
|
let mut layout_root = profile(time::LayoutStyleRecalcCategory,
|
||||||
self.profiler_chan.clone(),
|
self.profiler_chan.clone(),
|
||||||
|| {
|
|| {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue