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

@ -99,6 +99,7 @@ use std::sync::atomic::{Ordering, AtomicBool};
use std::sync::mpsc::{Receiver, Select, Sender, channel};
use std::sync::{Arc, Mutex};
use style::context::ReflowGoal;
use style::thread_state;
use task_source::TaskSource;
use task_source::dom_manipulation::{DOMManipulationTaskSource, DOMManipulationTask};
use task_source::file_reading::FileReadingTaskSource;
@ -109,7 +110,6 @@ use time::Tm;
use url::{Url, Position};
use util::opts;
use util::thread;
use util::thread_state;
use webdriver_handlers;
thread_local!(pub static STACK_ROOTS: Cell<Option<RootCollectionPtr>> = Cell::new(None));