mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove unused code from selector and style crates
This commit is contained in:
parent
8dc7a25893
commit
642b7c3ea1
9 changed files with 1 additions and 101 deletions
|
@ -102,15 +102,6 @@ mod checks;
|
|||
pub const SHARING_CACHE_SIZE: usize = 31;
|
||||
const SHARING_CACHE_BACKING_STORE_SIZE: usize = SHARING_CACHE_SIZE + 1;
|
||||
|
||||
/// Controls whether the style sharing cache is used.
|
||||
#[derive(Clone, Copy, PartialEq)]
|
||||
pub enum StyleSharingBehavior {
|
||||
/// Style sharing allowed.
|
||||
Allow,
|
||||
/// Style sharing disallowed.
|
||||
Disallow,
|
||||
}
|
||||
|
||||
/// Opaque pointer type to compare ComputedValues identities.
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
pub struct OpaqueComputedValues(NonNull<()>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue