[webkit-changes] [WebKit/WebKit] 0739f3: Deploy smart pointers in RemoteWebInspectorUIProxy...

Ryosuke Niwa noreply at github.com
Mon Sep 16 16:45:32 PDT 2024


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

  Changed paths:
    M Source/WebKit/UIProcess/Inspector/RemoteWebInspectorUIProxy.cpp
    M Source/WebKit/UIProcess/Inspector/mac/RemoteWebInspectorUIProxyMac.mm

  Log Message:
  -----------
  Deploy smart pointers in RemoteWebInspectorUIProxy.cpp and RemoteWebInspectorUIProxyMac.mm
https://bugs.webkit.org/show_bug.cgi?id=279774

Reviewed by Devin Rousso.

Deployed more smart pointers as identified by clang static analyzers.

* Source/WebKit/UIProcess/Inspector/RemoteWebInspectorUIProxy.cpp:
(WebKit::RemoteWebInspectorUIProxy::setDiagnosticLoggingAvailable):
(WebKit::RemoteWebInspectorUIProxy::initialize):
(WebKit::RemoteWebInspectorUIProxy::showConsole):
(WebKit::RemoteWebInspectorUIProxy::showResources):
(WebKit::RemoteWebInspectorUIProxy::sendMessageToFrontend):
(WebKit::RemoteWebInspectorUIProxy::setInspectorPageDeveloperExtrasEnabled):
(WebKit::RemoteWebInspectorUIProxy::createFrontendPageAndWindow):
(WebKit::RemoteWebInspectorUIProxy::closeFrontendPageAndWindow):
* Source/WebKit/UIProcess/Inspector/mac/RemoteWebInspectorUIProxyMac.mm:
(-[WKRemoteWebInspectorUIProxyObjCAdapter protectedInspectorProxy]):
(-[WKRemoteWebInspectorUIProxyObjCAdapter inspectorWKWebViewDidBecomeActive:]):
(-[WKRemoteWebInspectorUIProxyObjCAdapter inspectorViewControllerInspectorDidCrash:]):
(-[WKRemoteWebInspectorUIProxyObjCAdapter inspectorViewControllerInspectorIsUnderTest:]):
(WebKit::RemoteWebInspectorUIProxy::didBecomeActive):

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