Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 09985fa2d7084ea771d6028e1f5fdbade615826c
      
https://github.com/WebKit/WebKit/commit/09985fa2d7084ea771d6028e1f5fdbade615826c
  Author: Chris Dumez <[email protected]>
  Date:   2026-02-26 (Thu, 26 Feb 2026)

  Changed paths:
    M Source/WebKit/WebProcess/Extensions/API/WebExtensionAPIObject.h
    M Source/WebKit/WebProcess/Extensions/Bindings/JSWebExtensionWrappable.h
    M 
Source/WebKit/WebProcess/Extensions/Bindings/Scripts/CodeGeneratorExtensions.pm

  Log Message:
  -----------
  Address safer cpp warnings in generated 
DerivedSources/WebKit/JSWebExtensionAPI*.mm files
https://bugs.webkit.org/show_bug.cgi?id=308781
rdar://171307556

Reviewed by Geoffrey Garen.

These functions return a static variable so use the "Singleton" suffix
in the function names to help static analysis understand we don't need
to protect at call sites.

* Source/WebKit/WebProcess/Extensions/API/WebExtensionAPIObject.h:
* Source/WebKit/WebProcess/Extensions/Bindings/JSWebExtensionWrappable.h:
* 
Source/WebKit/WebProcess/Extensions/Bindings/Scripts/CodeGeneratorExtensions.pm:
(_classRefGetter):

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



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

Reply via email to