Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1af87bb4a5ef066a6347dfb7f51e7ccd8b8284ab
https://github.com/WebKit/WebKit/commit/1af87bb4a5ef066a6347dfb7f51e7ccd8b8284ab
Author: Frédéric Wang <[email protected]>
Date: 2025-09-16 (Tue, 16 Sep 2025)
Changed paths:
M Source/WebKit/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations
M Source/WebKit/UIProcess/WebAuthentication/Cocoa/HidConnection.mm
M Source/WebKit/UIProcess/WebAuthentication/Cocoa/HidService.mm
M Source/WebKit/UIProcess/mac/WebViewImpl.mm
M Source/WebKit/WebProcess/WebPage/WebDisplayRefreshMonitor.cpp
M Source/WebKit/webpushd/webpushtool/WebPushToolMain.mm
Log Message:
-----------
Fix smart pointers errors with CFRunLoopGetMain()/CFRunLoopGetCurrent()
https://bugs.webkit.org/show_bug.cgi?id=298865
Reviewed by Chris Dumez.
Ownership follows the The Get Rule, so they need a RetainPtr:
https://developer.apple.com/documentation/corefoundation/cfrunloopgetcurrent()?language=objc
https://developer.apple.com/documentation/corefoundation/cfrunloopgetmain()?language=objc
* Source/WebKit/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations:
* Source/WebKit/UIProcess/WebAuthentication/Cocoa/HidConnection.mm:
(WebKit::HidConnection::initialize):
(WebKit::HidConnection::terminate):
* Source/WebKit/UIProcess/WebAuthentication/Cocoa/HidService.mm:
(WebKit::HidService::~HidService):
(WebKit::HidService::platformStartDiscovery):
* Source/WebKit/UIProcess/mac/WebViewImpl.mm:
(WebKit::WebViewImpl::computeHasVisualSearchResults):
* Source/WebKit/WebProcess/WebPage/WebDisplayRefreshMonitor.cpp:
(WebKit::WebDisplayRefreshMonitor::startNotificationMechanism):
* Source/WebKit/webpushd/webpushtool/WebPushToolMain.mm:
(WebKit::WebPushToolVerb::done):
Canonical link: https://commits.webkit.org/300027@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes