Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 302d6cf1b9173473100951e1717ab6f69a8266d3
      
https://github.com/WebKit/WebKit/commit/302d6cf1b9173473100951e1717ab6f69a8266d3
  Author: Jessica Lee <[email protected]>
  Date:   2025-07-15 (Tue, 15 Jul 2025)

  Changed paths:
    M Source/WebCore/Modules/web-locks/WebLockManager.cpp
    M Source/WebCore/Modules/web-locks/WebLockManager.h
    M Source/WebCore/Modules/web-locks/WebLockRegistry.cpp
    M Source/WebCore/Modules/web-locks/WebLockRegistry.h
    M Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations

  Log Message:
  -----------
  Adopt smart pointers in WebLockManager.cpp
https://bugs.webkit.org/show_bug.cgi?id=295880
rdar://155773416

Reviewed by Per Arne Vollan and Chris Dumez.

Apply https://github.com/WebKit/WebKit/wiki/Safer-CPP-Guidelines

* Source/WebCore/Modules/web-locks/WebLockManager.cpp:
(WebCore::WebLockManager::MainThreadBridge::requestLock):
(WebCore::WebLockManager::MainThreadBridge::releaseLock):
(WebCore::WebLockManager::MainThreadBridge::abortLockRequest):
(WebCore::WebLockManager::MainThreadBridge::query):
(WebCore::WebLockManager::MainThreadBridge::clientIsGoingAway):
(WebCore::WebLockManager::WebLockManager):
(WebCore::WebLockManager::request):
(WebCore::WebLockManager::clientIsGoingAway):
* Source/WebCore/Modules/web-locks/WebLockManager.h:
* Source/WebCore/Modules/web-locks/WebLockRegistry.cpp:
(WebCore::WebLockRegistry::singleton):
(WebCore::WebLockRegistry::shared): Deleted.
* Source/WebCore/Modules/web-locks/WebLockRegistry.h:
* Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:

Canonical link: https://commits.webkit.org/297405@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

Reply via email to