
- All instances of AXPlatformNode require an AXPlatformNodeDelegate, so take the delegate as a reference rather than a pointer. - Make the dtor of AXPlatformNode protected, as instances must be destroyed via a call to Destroy(). - Make AXPlatformNode::Destroy pure virtual since an empty impl doesn't make sense -- subclasses must provide one that does something to destroy and free the instance. Bug: none AX-Relnotes: n/a. Change-Id: I1eac517d359df33ac339012ac04cc231d4d6483a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5725972 Reviewed-by: Aaron Leventhal <aleventhal@chromium.org> Commit-Queue: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Auto-Submit: Greg Thompson <grt@chromium.org> Cr-Commit-Position: refs/heads/main@{#1445838}