Index: chrome/browser/ui/views/omnibox/omnibox_view_win.cc |
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc |
index 03f188809fd98ee6b63723318d231f38c9d661c8..970d879b58478d805042d57f7084d760392b01ff 100644 |
--- a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc |
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc |
@@ -981,14 +981,12 @@ bool OmniboxViewWin::OnAfterPossibleChangeInternal(bool force_text_changed) { |
if (text_differs) { |
// Note that a TEXT_CHANGED event implies that the cursor/selection |
// probably changed too, so we don't need to send both. |
- native_view_host_->GetWidget()->NotifyAccessibilityEvent( |
- native_view_host_, ui::AccessibilityTypes::EVENT_TEXT_CHANGED, true); |
+ native_view_host_->NotifyAccessibilityEvent( |
+ ui::AccessibilityTypes::EVENT_TEXT_CHANGED, true); |
} else if (selection_differs) { |
// Notify assistive technology that the cursor or selection changed. |
- native_view_host_->GetWidget()->NotifyAccessibilityEvent( |
- native_view_host_, |
- ui::AccessibilityTypes::EVENT_SELECTION_CHANGED, |
- true); |
+ native_view_host_->NotifyAccessibilityEvent( |
+ ui::AccessibilityTypes::EVENT_SELECTION_CHANGED, true); |
} else if (delete_at_end_pressed_) { |
model()->OnChanged(); |
} |