[webkit-changes] [WebKit/WebKit] 8f5031: Fix more miscellaneous smart pointer warnings acro...

Ryosuke Niwa noreply at github.com
Sat Sep 21 12:35:33 PDT 2024


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

  Changed paths:
    M Source/WebKit/NetworkProcess/storage/NetworkStorageManager.cpp
    M Source/WebKit/UIProcess/Inspector/mac/WebInspectorUIProxyMac.mm
    M Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp
    M Source/WebKit/UIProcess/UserContent/WebUserContentControllerProxy.cpp

  Log Message:
  -----------
  Fix more miscellaneous smart pointer warnings across WebKit2
https://bugs.webkit.org/show_bug.cgi?id=280113

Reviewed by Chris Dumez.

Deploy more smart pointers based on clang static analyzer warnings.

* Source/WebKit/NetworkProcess/storage/NetworkStorageManager.cpp:
(WebKit::NetworkStorageManager::clearServiceWorkerRegistrations):
* Source/WebKit/UIProcess/Inspector/mac/WebInspectorUIProxyMac.mm:
(-[WKWebInspectorUIProxyObjCAdapter inspectorRef]):
(-[WKWebInspectorUIProxyObjCAdapter _protectedInspector]):
* Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp:
(WebKit::NetworkProcessProxy::requestBackgroundFetchPermission):
(WebKit::NetworkProcessProxy::notifyBackgroundFetchChange):
(WebKit::NetworkProcessProxy::requestStorageSpace):
* Source/WebKit/UIProcess/UserContent/WebUserContentControllerProxy.cpp:
(WebKit::WebUserContentControllerProxy::addUserScriptMessageHandler):

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