Fix for crash in AppKit accessibility.
authorandresg_22@apple.com <andresg_22@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Jan 2020 22:17:49 +0000 (22:17 +0000)
committerandresg_22@apple.com <andresg_22@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Jan 2020 22:17:49 +0000 (22:17 +0000)
commite95110d0f6dff1b818618c0a4d06365fbe5f8f1e
treefc9a9af6089017ef92d58e6a944b8d4712bbd647
parent46369148e04965a8df54ebc195a464310247c424
Fix for crash in AppKit accessibility.
https://bugs.webkit.org/show_bug.cgi?id=206902

Reviewed by Chris Fleizach.

Accessibility methods invoked in the secondary thread that Return id
values retrieved from the main thread, need to retain/autoRelease the returned ids.

* WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.mm:
(-[WKAccessibilityWebPageObject ALLOW_DEPRECATED_IMPLEMENTATIONS_END]):
(-[WKAccessibilityWebPageObject accessibilityAttributeSizeValue]):
(-[WKAccessibilityWebPageObject accessibilityAttributePositionValue]):
(-[WKAccessibilityWebPageObject accessibilityDataDetectorValue:point:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255313 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.mm