mirror of
https://github.com/servo/servo.git
synced 2025-08-14 01:45:33 +01:00
stylo: Replace all hashtable collections with ones from style::hash
This commit is contained in:
parent
fae5e10643
commit
5cd296a264
9 changed files with 29 additions and 14 deletions
|
@ -31,7 +31,7 @@ use selectors::parser::SelectorParseError;
|
|||
use smallvec::SmallVec;
|
||||
use std::borrow::Cow;
|
||||
use std::cmp;
|
||||
#[cfg(feature = "gecko")] use fnv::FnvHashMap;
|
||||
#[cfg(feature = "gecko")] use hash::FnvHashMap;
|
||||
use style_traits::ParseError;
|
||||
use super::ComputedValues;
|
||||
#[cfg(feature = "gecko")]
|
||||
|
|
|
@ -416,7 +416,7 @@ ${helpers.predefined_type("object-position",
|
|||
products="gecko"
|
||||
animation_value_type="discrete"
|
||||
boxed="True">
|
||||
use std::collections::HashMap;
|
||||
use hash::HashMap;
|
||||
use std::fmt;
|
||||
use std::ops::Range;
|
||||
use str::HTML_SPACE_CHARACTERS;
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#[cfg(feature = "servo")] use app_units::Au;
|
||||
use servo_arc::{Arc, UniqueArc};
|
||||
use std::borrow::Cow;
|
||||
use std::collections::HashSet;
|
||||
use hash::HashSet;
|
||||
use std::{fmt, mem, ops};
|
||||
#[cfg(feature = "gecko")] use std::ptr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue