diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2017-10-23 14:05:58 -0700 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2017-10-23 14:10:52 -0700 |
commit | f61151a726b19c1a325b21c4b879b612450d270d (patch) | |
tree | 01e68f5168caea2b195b4691229007bd4128a733 | |
parent | 3cffc8c42778e77cd35dfce79466fab846a34781 (diff) | |
download | servo-f61151a726b19c1a325b21c4b879b612450d270d.tar.gz servo-f61151a726b19c1a325b21c4b879b612450d270d.zip |
Revert diagnostics code from 12515374597604499d77e4d9da61821f1801a240
-rw-r--r-- | components/style/custom_properties.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/components/style/custom_properties.rs b/components/style/custom_properties.rs index 116899828b6..c0a540e5b17 100644 --- a/components/style/custom_properties.rs +++ b/components/style/custom_properties.rs @@ -168,13 +168,11 @@ where return; } self.index.retain(|key| !set.contains(key)); - self.values.begin_mutation(); // XXX It may be better to use retain when we back to use a // normal hashmap rather than DiagnosticHashMap. for key in set.iter() { self.values.remove(key); } - self.values.end_mutation(); debug_assert_eq!(self.values.len(), self.index.len()); } } |