Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 280b81ede18414fc4c3938df7c955729d952169d
      
https://github.com/WebKit/WebKit/commit/280b81ede18414fc4c3938df7c955729d952169d
  Author: Antti Koivisto <[email protected]>
  Date:   2023-10-12 (Thu, 12 Oct 2023)

  Changed paths:
    M Source/WebCore/style/ElementRuleCollector.cpp

  Log Message:
  -----------
  Eliminate duplicate declarations in ElementRuleCollector
https://bugs.webkit.org/show_bug.cgi?id=263068
rdar://116854633

Reviewed by Alan Baradlay.

Sometimes there are multiple matching rules with the same exact declaration. We 
can eliminate them early.

* Source/WebCore/style/ElementRuleCollector.cpp:
(WebCore::Style::ElementRuleCollector::addMatchedProperties):

Because declaration deduplication this is just a pointer comparison.

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to