Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c8ab72fc4316e492f0cefc3d0976c92660eb97e7
      
https://github.com/WebKit/WebKit/commit/c8ab72fc4316e492f0cefc3d0976c92660eb97e7
  Author: Chris Dumez <[email protected]>
  Date:   2026-04-04 (Sat, 04 Apr 2026)

  Changed paths:
    M Source/WebCore/css/parser/CSSParserContext.cpp

  Log Message:
  -----------
  CSSParserContext hash function is missing 4 fields that operator== compares
https://bugs.webkit.org/show_bug.cgi?id=311470

Reviewed by Anne van Kesteren.

The add(Hasher&, const CSSParserContext&) function was missing
shouldIgnoreImportRules, counterStyleAtRuleImageSymbolsEnabled,
webkitMediaTextTrackDisplayQuirkEnabled, and enclosingRuleType.
Since operator== is defaulted and compares all fields, this caused
unnecessary hash collisions when CSSParserContext is used as a
hash table key.

* Source/WebCore/css/parser/CSSParserContext.cpp:
(WebCore::add):

Canonical link: https://commits.webkit.org/310583@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to