| Index: ui/accessibility/platform/ax_platform_node_win.cc
|
| diff --git a/ui/accessibility/platform/ax_platform_node_win.cc b/ui/accessibility/platform/ax_platform_node_win.cc
|
| index c8f7d5445c3f0cfbf66bed5b8c76c1c193566014..6cf37f457b37a02639a74518787f5001a1852464 100644
|
| --- a/ui/accessibility/platform/ax_platform_node_win.cc
|
| +++ b/ui/accessibility/platform/ax_platform_node_win.cc
|
| @@ -146,6 +146,10 @@ AXPlatformNodeWin::~AXPlatformNodeWin() {
|
| //
|
|
|
| void AXPlatformNodeWin::Destroy() {
|
| + AXPlatformNode::Destroy();
|
| + // Do not call base class AXPlatformNodeBase::Destroy method because it
|
| + // would delete this object. Call base's base class AXPlatformNode::Destroy
|
| + // instead to remove the unique ID from the map like base class does.
|
| delegate_ = nullptr;
|
| RemoveAlertTarget();
|
| Release();
|
|
|