@@ -595,7 +595,7 @@ class ParsedAttrSpec {
595
595
return value_property_by_name_;
596
596
}
597
597
598
- const unordered_map <std::string, const CssDeclaration*>&
598
+ const absl::flat_hash_map <std::string, const CssDeclaration*>&
599
599
css_declaration_by_name () const {
600
600
return css_declaration_by_name_;
601
601
}
@@ -620,7 +620,8 @@ class ParsedAttrSpec {
620
620
// Name lookup for spec().value_properties().properties().
621
621
unordered_map<std::string, const PropertySpec*> value_property_by_name_;
622
622
// Name lookup for spec().css_declaration().
623
- unordered_map<std::string, const CssDeclaration*> css_declaration_by_name_;
623
+ absl::flat_hash_map<std::string, const CssDeclaration*>
624
+ css_declaration_by_name_;
624
625
// The mandatory spec().value_properties().properties().
625
626
vector<const PropertySpec*> mandatory_value_properties_;
626
627
vector<TypeIdentifier> disabled_by_;
@@ -4323,7 +4324,7 @@ void ValidateAttrDeclaration(const ParsedAttrSpec& parsed_attr_spec,
4323
4324
// If there were errors parsing, exit from validating further.
4324
4325
if (!css_errors.empty ()) return ;
4325
4326
4326
- const unordered_map <std::string, const CssDeclaration*>&
4327
+ const absl::flat_hash_map <std::string, const CssDeclaration*>&
4327
4328
css_declaration_by_name = parsed_attr_spec.css_declaration_by_name ();
4328
4329
4329
4330
for (auto & declaration : declarations) {
0 commit comments