diff options
Diffstat (limited to 'components/style/element_state.rs')
-rw-r--r-- | components/style/element_state.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/style/element_state.rs b/components/style/element_state.rs index 7c7f5c5d07a..d6ecc3bf5a9 100644 --- a/components/style/element_state.rs +++ b/components/style/element_state.rs @@ -14,8 +14,7 @@ bitflags! { /// /// TODO(emilio): We really really want to use the NS_EVENT_STATE bindings /// for this. - #[cfg_attr(feature = "gecko", derive(MallocSizeOf))] - #[cfg_attr(feature = "servo", derive(HeapSizeOf))] + #[derive(MallocSizeOf)] pub flags ElementState: u64 { /// The mouse is down on this element. /// <https://html.spec.whatwg.org/multipage/#selector-active> |