[webkit-changes] [WebKit/WebKit] 49d32a: AX: AXIsolatedTree should hold a WeakPtr to the AX...
AndresGonzalezApple
noreply at github.com
Wed Jan 25 17:12:54 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 49d32a5281e1c8c0094169eedbaf9af582efac8c
https://github.com/WebKit/WebKit/commit/49d32a5281e1c8c0094169eedbaf9af582efac8c
Author: Andres Gonzalez <andresg_22 at apple.com>
Date: 2023-01-25 (Wed, 25 Jan 2023)
Changed paths:
M Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.h
Log Message:
-----------
AX: AXIsolatedTree should hold a WeakPtr to the AXObjectCache.
https://bugs.webkit.org/show_bug.cgi?id=251151
<rdar://problem/104645083>
Reviewed by Chris Fleizach.
Replaced the raw pointer to AXObjectCache with a WeakPtr. Audited that we are checking for null everywhere we access this instance variable.
* Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.h:
(WebCore::AXIsolatedTree::axObjectCache const):
Canonical link: https://commits.webkit.org/259398@main
More information about the webkit-changes
mailing list