Index: views/widget/native_widget_win.cc |
=================================================================== |
--- views/widget/native_widget_win.cc (revision 88807) |
+++ views/widget/native_widget_win.cc (working copy) |
@@ -1255,8 +1255,7 @@ |
if (OBJID_CLIENT == l_param) { |
// Retrieve MSAA dispatch object for the root view. |
base::win::ScopedComPtr<IAccessible> root( |
- NativeViewAccessibilityWin::GetAccessibleForView( |
- GetWidget()->GetRootView())); |
+ GetWidget()->GetRootView()->GetNativeViewAccessible()); |
// Create a reference that MSAA will marshall to the client. |
reference_result = LresultFromObject(IID_IAccessible, w_param, |