summaryrefslogtreecommitdiffstats
path: root/views/accessibility/native_view_accessibility_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/accessibility/native_view_accessibility_win.cc')
-rw-r--r--views/accessibility/native_view_accessibility_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/accessibility/native_view_accessibility_win.cc b/views/accessibility/native_view_accessibility_win.cc
index 2bd8d30..26def37 100644
--- a/views/accessibility/native_view_accessibility_win.cc
+++ b/views/accessibility/native_view_accessibility_win.cc
@@ -259,7 +259,7 @@ STDMETHODIMP NativeViewAccessibilityWin::get_accChild(VARIANT var_child,
} else {
// Negative values are used for events fired using the view's WidgetWin
views::WidgetWin* widget =
- static_cast<views::WidgetWin*>(view_->GetWidget()->native_widget());
+ static_cast<views::WidgetWin*>(view_->GetWidget());
child_view = widget->GetAccessibilityViewEventAt(child_id);
}