summaryrefslogtreecommitdiffstats
path: root/views/view_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/view_win.cc')
-rw-r--r--views/view_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/view_win.cc b/views/view_win.cc
index f95e9e0..b139caa 100644
--- a/views/view_win.cc
+++ b/views/view_win.cc
@@ -18,7 +18,7 @@
#include "views/views_delegate.h"
#include "views/widget/root_view.h"
#include "views/widget/widget.h"
-#include "views/widget/widget_win.h"
+#include "views/widget/native_widget_win.h"
namespace views {
@@ -46,7 +46,7 @@ void View::NotifyAccessibilityEvent(AccessibilityTypes::Event event_type,
// with this view so that clients can call get_accChild in ViewAccessibility
// to retrieve the IAccessible associated with this view.
if (send_native_event) {
- WidgetWin* view_widget = static_cast<WidgetWin*>(GetWidget());
+ NativeWidgetWin* view_widget = static_cast<NativeWidgetWin*>(GetWidget());
int child_id = view_widget->AddAccessibilityViewEvent(this);
::NotifyWinEvent(ViewAccessibility::MSAAEvent(event_type),
view_widget->GetNativeView(), OBJID_CLIENT, child_id);