diff options
author | Bobby Holley <bobbyholley@gmail.com> | 2017-10-03 10:04:43 -0700 |
---|---|---|
committer | Bobby Holley <bobbyholley@gmail.com> | 2017-10-03 12:44:26 -0700 |
commit | 15b866d8de52c755c59310f647f4a13dfe6ea9db (patch) | |
tree | c3de6b0860b1568089bf39cdbf874ba02fa7c8ad /components/style/invalidation | |
parent | e07c6f38a5d5f06b041765666e4e2aff7faa8f8b (diff) | |
download | servo-15b866d8de52c755c59310f647f4a13dfe6ea9db.tar.gz servo-15b866d8de52c755c59310f647f4a13dfe6ea9db.zip |
Revert #18668 - Add mprotect diagnostics for HashMap crash
Diffstat (limited to 'components/style/invalidation')
-rw-r--r-- | components/style/invalidation/element/invalidation_map.rs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/components/style/invalidation/element/invalidation_map.rs b/components/style/invalidation/element/invalidation_map.rs index 2531e0f8f23..301cd2e25a9 100644 --- a/components/style/invalidation/element/invalidation_map.rs +++ b/components/style/invalidation/element/invalidation_map.rs @@ -299,24 +299,6 @@ impl InvalidationMap { Ok(()) } - - /// Allows mutation of this InvalidationMap. - #[cfg(feature = "gecko")] - pub fn begin_mutation(&mut self) { - self.class_to_selector.begin_mutation(); - self.id_to_selector.begin_mutation(); - self.state_affecting_selectors.begin_mutation(); - self.other_attribute_affecting_selectors.begin_mutation(); - } - - /// Disallows mutation of this InvalidationMap. - #[cfg(feature = "gecko")] - pub fn end_mutation(&mut self) { - self.class_to_selector.end_mutation(); - self.id_to_selector.end_mutation(); - self.state_affecting_selectors.end_mutation(); - self.other_attribute_affecting_selectors.end_mutation(); - } } /// A struct that collects invalidations for a given compound selector. |