[webkit-changes] [WebKit/WebKit] cf1fe7: AX: Remove unnecessary TextMarker methods from Web...

AndresGonzalezApple noreply at github.com
Thu Feb 9 11:49:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cf1fe7b778258bba3927ca97ea007d09fd30a1f8
      https://github.com/WebKit/WebKit/commit/cf1fe7b778258bba3927ca97ea007d09fd30a1f8
  Author: Andres Gonzalez <andresg_22 at apple.com>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

  Changed paths:
    M Source/WebCore/accessibility/mac/AXObjectCacheMac.mm
    M Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.h
    M Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm

  Log Message:
  -----------
  AX: Remove unnecessary TextMarker methods from WebAccessibilityObjectWrapper.
https://bugs.webkit.org/show_bug.cgi?id=251849
<rdar://problem/105128584>

Reviewed by Darin Adler and Chris Fleizach.

These two methods should not be exposed through the client interface because they won't work in isolated tree mode. WebCore code should use the corresponding C functions.

* Source/WebCore/accessibility/mac/AXObjectCacheMac.mm:
(WebCore::addTextMarkerFor):
* Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.h:
* Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(-[WebAccessibilityObjectWrapper textMarkerForVisiblePosition:]): Deleted.
(-[WebAccessibilityObjectWrapper textMarkerRangeFromVisiblePositions:endPosition:]): Deleted.

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




More information about the webkit-changes mailing list