style: Fix servo build.

This commit is contained in:
Emilio Cobos Álvarez 2018-09-03 12:56:30 +02:00
parent 31d249fd48
commit 6d43bf78bc
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
4 changed files with 9 additions and 4 deletions

View file

@ -1948,7 +1948,7 @@ pub struct CascadeData {
/// to avoid taking element snapshots when an irrelevant attribute changes.
/// (We don't bother storing the namespace, since namespaced attributes are
/// rare.)
attribute_dependencies: PrecomputedHashSet<Atom>,
attribute_dependencies: PrecomputedHashSet<LocalName>,
/// The element state bits that are relied on by selectors. Like
/// `attribute_dependencies`, this is used to avoid taking element snapshots
@ -1964,7 +1964,7 @@ pub struct CascadeData {
/// hence in our selector maps). Used to determine when sharing styles is
/// safe: we disallow style sharing for elements whose id matches this
/// filter, and hence might be in one of our selector maps.
mapped_ids: PrecomputedHashSet<LocalName>,
mapped_ids: PrecomputedHashSet<Atom>,
/// Selectors that require explicit cache revalidation (i.e. which depend
/// on state that is not otherwise visible to the cache, like attributes or