Move thread_state to style.

This commit is contained in:
Ms2ger 2016-08-22 16:05:00 +02:00
parent 32a0493cde
commit 307d1ced3c
14 changed files with 14 additions and 14 deletions

View file

@ -110,6 +110,7 @@ use style::refcell::RefCell;
use style::selector_matching::Stylist;
use style::servo_selector_impl::USER_OR_USER_AGENT_STYLESHEETS;
use style::stylesheets::{Stylesheet, CSSRuleIteratorExt};
use style::thread_state;
use style::timer::Timer;
use style::workqueue::WorkQueue;
use url::Url;
@ -118,7 +119,6 @@ use util::ipc::OptionalIpcSender;
use util::opts;
use util::prefs::PREFS;
use util::thread;
use util::thread_state;
/// The number of screens we have to traverse before we decide to generate new display lists.
const DISPLAY_PORT_THRESHOLD_SIZE_FACTOR: i32 = 4;