[webkit-changes] [WebKit/WebKit] aa2785: Deploy more smart pointers in LegacyCustomProtocol...

Ryosuke Niwa noreply at github.com
Wed Sep 11 21:48:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: aa2785461e0a343bd62345898dec78ef5ab69242
      https://github.com/WebKit/WebKit/commit/aa2785461e0a343bd62345898dec78ef5ab69242
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2024-09-11 (Wed, 11 Sep 2024)

  Changed paths:
    M Source/WebKit/NetworkProcess/CustomProtocols/Cocoa/LegacyCustomProtocolManagerCocoa.mm
    M Source/WebKit/NetworkProcess/NetworkContentRuleListManager.cpp

  Log Message:
  -----------
  Deploy more smart pointers in LegacyCustomProtocolManagerCocoa.mm and NetworkContentRuleListManager.cpp
https://bugs.webkit.org/show_bug.cgi?id=279551

Reviewed by Chris Dumez and Basuke Suzuki.

Deployed more smart pointers in these files as warned by the clang static analyzer.

* Source/WebKit/NetworkProcess/CustomProtocols/Cocoa/LegacyCustomProtocolManagerCocoa.mm:
(protectedFirstNetworkProcess):
(LegacyCustomProtocolManager::networkProcessCreated):
(+[WKCustomProtocol canInitWithRequest:]):
(-[WKCustomProtocol initWithRequest:cachedResponse:client:]):
(-[WKCustomProtocol startLoading]):
(-[WKCustomProtocol stopLoading]):
* Source/WebKit/NetworkProcess/NetworkContentRuleListManager.cpp:
(WebKit::NetworkContentRuleListManager::contentExtensionsBackend):

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



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


More information about the webkit-changes mailing list