[webkit-changes] [WebKit/WebKit] 2f2435: AX: refactor downcast in setLastPresentedTextPredi...

Joshua Hoffman noreply at github.com
Tue Feb 20 10:30:50 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2f2435a780c49d541fc276b858e0a8fe81f619d4
      https://github.com/WebKit/WebKit/commit/2f2435a780c49d541fc276b858e0a8fe81f619d4
  Author: Joshua Hoffman <jhoffman23 at apple.com>
  Date:   2024-02-20 (Tue, 20 Feb 2024)

  Changed paths:
    M Source/WebCore/accessibility/ios/AccessibilityObjectIOS.mm

  Log Message:
  -----------
  AX: refactor downcast in setLastPresentedTextPrediction
https://bugs.webkit.org/show_bug.cgi?id=269771
rdar://problem/123289610

Reviewed by Chris Fleizach.

This patch separates out the dynamicDowncast in setLastPresentedTextPrediction so that is not inline.
This prevents duplicate is<Text> checks, as was the case prior.

* Source/WebCore/accessibility/ios/AccessibilityObjectIOS.mm:
(WebCore::AccessibilityObject::setLastPresentedTextPrediction):

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