[webkit-changes] [WebKit/WebKit] ea78fb: AX: Increase smart pointer hygiene in imageOverlay...

Joshua Hoffman noreply at github.com
Fri Feb 28 07:50:09 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ea78fb8bf46d9709a817175815701465d23425e6
      https://github.com/WebKit/WebKit/commit/ea78fb8bf46d9709a817175815701465d23425e6
  Author: Joshua Hoffman <jhoffman23 at apple.com>
  Date:   2025-02-28 (Fri, 28 Feb 2025)

  Changed paths:
    M Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
    M Source/WebCore/accessibility/AXCoreObject.h
    M Source/WebCore/accessibility/AXImage.cpp
    M Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm

  Log Message:
  -----------
  AX: Increase smart pointer hygiene in imageOverlayElements
https://bugs.webkit.org/show_bug.cgi?id=288790
rdar://145408130

Reviewed by Tyler Wilcock.

Increase usage of smart pointers and memory-safety in imageOverlayElements and things that it calls.

Co-authored with Tyler Wilcock.

* Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations:
* Source/WebCore/accessibility/AXCoreObject.h:
(WebCore::Accessibility::enumerateUnignoredDescendants):
* Source/WebCore/accessibility/AXImage.cpp:
(WebCore::AXImage::imageOverlayElements):
* Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper accessibilityImageOverlayElements]):
(accessibleElementsForObjects):

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