[webkit-changes] [WebKit/WebKit] dc3286: Deploy more smart pointers in Source/WebKit/UIProc...

Ryosuke Niwa noreply at github.com
Thu Aug 31 16:01:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dc328646ce2fb251e968f41ac2c54f5dac601358
      https://github.com/WebKit/WebKit/commit/dc328646ce2fb251e968f41ac2c54f5dac601358
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M Source/WebKit/UIProcess/Notifications/WebNotificationManagerProxy.cpp
    M Source/WebKit/UIProcess/Notifications/WebNotificationProvider.cpp
    M Source/WebKit/UIProcess/PDF/WKPDFHUDView.mm

  Log Message:
  -----------
  Deploy more smart pointers in Source/WebKit/UIProcess/Notifications and Source/WebKit/UIProcess/PDF
https://bugs.webkit.org/show_bug.cgi?id=260952

Reviewed by Chris Dumez.

Deployed more smart pointers as found by clang static analyzer.

* Source/WebKit/UIProcess/Notifications/WebNotificationManagerProxy.cpp:
(WebKit::WebNotificationManagerProxy::sharedServiceWorkerManager):
(WebKit::WebNotificationManagerProxy::providerDidCloseNotifications):
* Source/WebKit/UIProcess/Notifications/WebNotificationProvider.cpp:
(WebKit::WebNotificationProvider::notificationPermissions):
* Source/WebKit/UIProcess/PDF/WKPDFHUDView.mm:
(-[WKPDFHUDView hitTest:]):
(-[WKPDFHUDView _performActionForControl:]):

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




More information about the webkit-changes mailing list