Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bdc25953d3d249e3ba8d54868c385fe683166252
https://github.com/WebKit/WebKit/commit/bdc25953d3d249e3ba8d54868c385fe683166252
Author: Ryosuke Niwa <[email protected]>
Date: 2026-01-31 (Sat, 31 Jan 2026)
Changed paths:
M Source/WebKit/Platform/IPC/cocoa/DaemonConnectionCocoa.mm
M Source/WebKit/UIProcess/API/Cocoa/_WKJSHandle.mm
Log Message:
-----------
Fix outstanding safer C++ issues in Source/WebKit
https://bugs.webkit.org/show_bug.cgi?id=306656
Reviewed by Wenson Hsieh.
Make global variables in _WKJSHandle.mm const to suppress warnings.
Also extracted the code to call RELEASE_LOG in DaemonConnectionCocoa.mm to
workaround a bug
in clang static analyzer that [[clang::suppress]] doesn't work in some template
functions.
* Source/WebKit/Platform/IPC/cocoa/DaemonConnectionCocoa.mm:
(WebKit::Daemon::logMachServiceInterrupted):
(WebKit::Daemon::ConnectionToMachService<Traits>::initializeConnectionIfNeeded
const):
* Source/WebKit/UIProcess/API/Cocoa/_WKJSHandle.mm:
Canonical link: https://commits.webkit.org/306578@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications