[webkit-changes] [WebKit/WebKit] 04e826: Remove redundant assert in WebCore::ContentExtensi...

AtariDreams noreply at github.com
Wed Mar 27 10:52:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 04e8269cbbce29c797bd287c2bf711d44ad0e055
      https://github.com/WebKit/WebKit/commit/04e8269cbbce29c797bd287c2bf711d44ad0e055
  Author: Rose <83477269+AtariDreams at users.noreply.github.com>
  Date:   2024-03-27 (Wed, 27 Mar 2024)

  Changed paths:
    M Source/WebCore/contentextensions/ContentExtensionCompiler.cpp

  Log Message:
  -----------
  Remove redundant assert in WebCore::ContentExtensions::compileRuleList
https://bugs.webkit.org/show_bug.cgi?id=267069

Reviewed by Timothy Hatcher.

The first is equivalent to the second, as (!a || (a & b)) is equivalent
to (~a & b) != 0, so no need to assert both.

* Source/WebCore/contentextensions/ContentExtensionCompiler.cpp:
  (WebCore::ContentExtensions::compileRuleList): Remove redundant
  assertion in WebCore::ContentExtensions::compileRuleList.

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



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


More information about the webkit-changes mailing list