Index: content/browser/accessibility/accessibility_event_recorder_win.cc |
diff --git a/content/browser/accessibility/accessibility_event_recorder_win.cc b/content/browser/accessibility/accessibility_event_recorder_win.cc |
index fa767494fb4d2eee3fa0729fb40d29147ef901db..cb40bfbb85070db48aed7c96d196b1e77ad02b84 100644 |
--- a/content/browser/accessibility/accessibility_event_recorder_win.cc |
+++ b/content/browser/accessibility/accessibility_event_recorder_win.cc |
@@ -287,7 +287,7 @@ HRESULT AccessibilityEventRecorderWin::AccessibleObjectFromWindowWrapper( |
if (accessibility_hwnd != hwnd) |
return E_FAIL; |
- IAccessible* obj = manager_->GetRoot()->ToBrowserAccessibilityWin(); |
+ IAccessible* obj = ToBrowserAccessibilityWin(manager_->GetRoot()); |
obj->AddRef(); |
*ppv_object = obj; |
return S_OK; |