[webkit-changes] [WebKit/WebKit] c6a818: [macOS] WKTextFinderMatch should hold a weak point...

Wenson Hsieh noreply at github.com
Tue May 21 20:30:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c6a818caffef1a6f4ccc3d1ffcd573e4c8dc0fd3
      https://github.com/WebKit/WebKit/commit/c6a818caffef1a6f4ccc3d1ffcd573e4c8dc0fd3
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2024-05-21 (Tue, 21 May 2024)

  Changed paths:
    M Source/WebKit/UIProcess/mac/WKTextFinderClient.mm

  Log Message:
  -----------
  [macOS] WKTextFinderMatch should hold a weak pointer to its client
https://bugs.webkit.org/show_bug.cgi?id=274498

Reviewed by Aditya Keerthi and Abrar Protyasha.

Use a weak ObjC pointer for the `_client` ivar, instead of a raw pointer.

* Source/WebKit/UIProcess/mac/WKTextFinderClient.mm:
(-[WKTextFinderMatch generateTextImage:]):

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