Per-document shared lock for author-origin stylesheets.

Fix #16027
This commit is contained in:
Simon Sapin 2017-03-19 14:46:00 +01:00
parent 02dc8b286a
commit 643545b87f
3 changed files with 25 additions and 28 deletions

View file

@ -9,13 +9,3 @@
pub mod media_queries;
pub mod restyle_damage;
pub mod selector_parser;
use shared_lock::SharedRwLock;
lazy_static! {
/// Per-process shared lock for author-origin stylesheets
///
/// FIXME: make it per-document or per-pipeline instead:
/// https://github.com/servo/servo/issues/16027
pub static ref AUTHOR_SHARED_LOCK: SharedRwLock = SharedRwLock::new();
}