Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a27cc064b84a2f30745867a017ba9b2e3df781e4
      
https://github.com/WebKit/WebKit/commit/a27cc064b84a2f30745867a017ba9b2e3df781e4
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-09-13 (Sun, 13 Sep 2026)

  Changed paths:
    M Source/WebCore/Modules/reporting/ReportingScope.cpp

  Log Message:
  -----------
  Deduplicate observer membership check in 
ReportingScope::registerReportingObserver()
https://bugs.webkit.org/show_bug.cgi?id=323945
rdar://187184835

Reviewed by Chris Dumez.

registerReportingObserver() inlined the same containsIf() predicate that
containsObserver() already implements. Call containsObserver() instead so
the membership check lives in one place.

No change in behavior.

* Source/WebCore/Modules/reporting/ReportingScope.cpp:
(WebCore::ReportingScope::registerReportingObserver):

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



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

Reply via email to