mirror of
https://github.com/servo/servo.git
synced 2025-08-08 23:15:33 +01:00
style: Move all the style sharing code outside matching.rs
This is just a code health change. I want to move it away to keep matching.rs as simple as possible.
This commit is contained in:
parent
d98abe1397
commit
311c403522
6 changed files with 585 additions and 499 deletions
|
@ -17,13 +17,13 @@ use euclid::Size2D;
|
|||
use fnv::FnvHashMap;
|
||||
use font_metrics::FontMetricsProvider;
|
||||
#[cfg(feature = "gecko")] use gecko_bindings::structs;
|
||||
use matching::StyleSharingCandidateCache;
|
||||
#[cfg(feature = "servo")] use parking_lot::RwLock;
|
||||
#[cfg(feature = "gecko")] use properties::ComputedValues;
|
||||
use selector_parser::SnapshotMap;
|
||||
use selectors::matching::ElementSelectorFlags;
|
||||
#[cfg(feature = "servo")] use servo_config::opts;
|
||||
use shared_lock::StylesheetGuards;
|
||||
use sharing::StyleSharingCandidateCache;
|
||||
#[cfg(feature = "servo")] use std::collections::HashMap;
|
||||
#[cfg(feature = "gecko")] use std::env;
|
||||
use std::fmt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue