stylo: Replace all hashtable collections with ones from style::hash

This commit is contained in:
Manish Goregaokar 2017-08-31 15:28:01 -07:00
parent fae5e10643
commit 5cd296a264
No known key found for this signature in database
GPG key ID: 3BBF4D3E2EF79F98
9 changed files with 29 additions and 14 deletions

View file

@ -83,7 +83,7 @@ use selectors::sink::Push;
use servo_arc::{Arc, ArcBorrow, RawOffsetArc};
use shared_lock::Locked;
use std::cell::RefCell;
use std::collections::HashMap;
use hash::HashMap;
use std::fmt;
use std::hash::{Hash, Hasher};
use std::mem;
@ -1361,7 +1361,7 @@ impl<'le> TElement for GeckoElement<'le> {
after_change_style: &ComputedValues)
-> bool {
use gecko_bindings::structs::nsCSSPropertyID;
use std::collections::HashSet;
use hash::HashSet;
debug_assert!(self.might_need_transitions_update(Some(before_change_style),
after_change_style),