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 ca9ef23a165e5e247c421f5fa581a03b3787fa71..e957d55894f3441024ae0069828a84608280e0b5 100644 |
--- a/ui/accessibility/platform/ax_platform_node_win.cc |
+++ b/ui/accessibility/platform/ax_platform_node_win.cc |
@@ -240,7 +240,7 @@ void AXPlatformNodeWin::NotifyAccessibilityEvent(ui::AXEvent event_type) { |
if (native_event < EVENT_MIN) |
return; |
- ::NotifyWinEvent(native_event, hwnd, OBJID_CLIENT, -unique_id_); |
+ ::NotifyWinEvent(native_event, hwnd, OBJID_CLIENT, -unique_id()); |
// Keep track of objects that are a target of an alert event. |
if (event_type == ui::AX_EVENT_ALERT) |
@@ -814,7 +814,7 @@ STDMETHODIMP AXPlatformNodeWin::get_states(AccessibleStates* states) { |
STDMETHODIMP AXPlatformNodeWin::get_uniqueID(LONG* unique_id) { |
COM_OBJECT_VALIDATE_1_ARG(unique_id); |
- *unique_id = -unique_id_; |
+ *unique_id = -AXPlatformNode::unique_id(); |
return S_OK; |
} |