mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
auto merge of #1429 : pradeep90/servo/master, r=pcwalton
The problems that were caused because of Yellow River seem to be fixed. (See #1319).
This commit is contained in:
commit
da4cff034b
1 changed files with 2 additions and 3 deletions
|
@ -8,6 +8,7 @@ use std::cell::Cell;
|
|||
use std::comm;
|
||||
use std::task;
|
||||
use std::vec;
|
||||
use std::rt;
|
||||
use extra::arc::{Arc, RWArc};
|
||||
|
||||
use css::node_style::StyledNode;
|
||||
|
@ -43,9 +44,7 @@ impl MatchMethods for AbstractNode<LayoutView> {
|
|||
}
|
||||
}
|
||||
fn match_subtree(&self, stylist: RWArc<Stylist>) {
|
||||
// FIXME(pcwalton): Racy. Parallel CSS selector matching is disabled.
|
||||
//let num_tasks = rt::default_sched_threads() * 2;
|
||||
let num_tasks = 1;
|
||||
let num_tasks = rt::default_sched_threads() * 2;
|
||||
let mut node_count = 0;
|
||||
let mut nodes_per_task = vec::from_elem(num_tasks, ~[]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue