mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Hoist the LRU cache into its own crate to share it with selectors.
This commit is contained in:
parent
5afb1b7dd2
commit
8b6c5988b5
9 changed files with 30 additions and 3 deletions
|
@ -8,13 +8,13 @@
|
|||
#[cfg(feature = "servo")] use animation::PropertyAnimation;
|
||||
use app_units::Au;
|
||||
use bloom::StyleBloom;
|
||||
use cache::{Entry, LRUCache};
|
||||
use data::{EagerPseudoStyles, ElementData};
|
||||
use dom::{OpaqueNode, TNode, TElement, SendElement};
|
||||
use euclid::ScaleFactor;
|
||||
use euclid::Size2D;
|
||||
use fnv::FnvHashMap;
|
||||
use font_metrics::FontMetricsProvider;
|
||||
use lru_cache::{Entry, LRUCache};
|
||||
#[cfg(feature = "gecko")] use gecko_bindings::structs;
|
||||
use parallel::{STACK_SAFETY_MARGIN_KB, STYLE_THREAD_STACK_SIZE_KB};
|
||||
#[cfg(feature = "servo")] use parking_lot::RwLock;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue