diff options
author | est31 <MTest31@outlook.com> | 2019-06-07 10:49:07 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2019-06-07 15:14:21 +0200 |
commit | 642b7c3ea19cefbedbc881894e5679e7a5dd33ce (patch) | |
tree | 3bcba1097e72694541acfd2a2acc25c726b078e6 /components/style/sharing/mod.rs | |
parent | 8dc7a25893cbe9a2c958966618d28757201899b6 (diff) | |
download | servo-642b7c3ea19cefbedbc881894e5679e7a5dd33ce.tar.gz servo-642b7c3ea19cefbedbc881894e5679e7a5dd33ce.zip |
Remove unused code from selector and style crates
Diffstat (limited to 'components/style/sharing/mod.rs')
-rw-r--r-- | components/style/sharing/mod.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/components/style/sharing/mod.rs b/components/style/sharing/mod.rs index 3ce2a717dc8..2b490a39363 100644 --- a/components/style/sharing/mod.rs +++ b/components/style/sharing/mod.rs @@ -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<()>); |