Remove unused code from selector and style crates

This commit is contained in:
est31 2019-06-07 10:49:07 +02:00
parent 8dc7a25893
commit 642b7c3ea1
9 changed files with 1 additions and 101 deletions

View file

@ -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<()>);