Index: chrome/browser/ui/views/critical_notification_bubble_view.cc |
diff --git a/chrome/browser/ui/views/critical_notification_bubble_view.cc b/chrome/browser/ui/views/critical_notification_bubble_view.cc |
index d67d19179c2996084c10a1fd05241b420bf77090..f2cec42a8aa953211db7d292e563edb2361f92bb 100644 |
--- a/chrome/browser/ui/views/critical_notification_bubble_view.cc |
+++ b/chrome/browser/ui/views/critical_notification_bubble_view.cc |
@@ -142,10 +142,8 @@ void CriticalNotificationBubbleView::GetAccessibleState( |
void CriticalNotificationBubbleView::ViewHierarchyChanged( |
bool is_add, View* parent, View* child) { |
- if (is_add && child == this) { |
- GetWidget()->NotifyAccessibilityEvent( |
- this, ui::AccessibilityTypes::EVENT_ALERT, true); |
- } |
+ if (is_add && child == this) |
+ NotifyAccessibilityEvent(ui::AccessibilityTypes::EVENT_ALERT, true); |
} |
bool CriticalNotificationBubbleView::AcceleratorPressed( |