[webkit-changes] [WebKit/WebKit] 01562c: Fix some more ObjC memory leaks

Alex Christensen noreply at github.com
Fri Jan 17 11:23:56 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 01562ca5be8e86b4676bdfa8d18de5615323a778
      https://github.com/WebKit/WebKit/commit/01562ca5be8e86b4676bdfa8d18de5615323a778
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M Source/WebKit/Shared/Cocoa/CoreIPCLocale.mm
    M Source/WebKit/UIProcess/QuickLookThumbnailLoader.h
    M Source/WebKit/UIProcess/QuickLookThumbnailLoader.mm
    M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
    M Source/WebKit/webpushd/_WKMockUserNotificationCenter.mm

  Log Message:
  -----------
  Fix some more ObjC memory leaks
https://bugs.webkit.org/show_bug.cgi?id=286098
rdar://143081413

Reviewed by Wenson Hsieh.

WKQLThumbnailQueueManager isn't a memory leak, but using smart pointers
makes that more clear.

* Source/WebKit/Shared/Cocoa/CoreIPCLocale.mm:
(WebKit::CoreIPCLocale::toID const):
* Source/WebKit/UIProcess/QuickLookThumbnailLoader.h:
* Source/WebKit/UIProcess/QuickLookThumbnailLoader.mm:
(-[WKQLThumbnailQueueManager init]):
(-[WKQLThumbnailQueueManager queue]):
(+[WKQLThumbnailQueueManager sharedInstance]):
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(+[WKUITextSelectionRect selectionRectWithCGRect:]):
* Source/WebKit/webpushd/_WKMockUserNotificationCenter.mm:
(centersByBundleIdentifier):

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