Index: ash/system/chromeos/network/tray_network.cc |
diff --git a/ash/system/chromeos/network/tray_network.cc b/ash/system/chromeos/network/tray_network.cc |
index e1921a3711871775b85ac1203ccba598c75bccf3..81152ad9f255a9587c956bcb7db39cfab6f8af0c 100644 |
--- a/ash/system/chromeos/network/tray_network.cc |
+++ b/ash/system/chromeos/network/tray_network.cc |
@@ -177,10 +177,8 @@ class NetworkTrayView : public TrayItemView, |
} |
if (new_connection_status_string != connection_status_string_) { |
connection_status_string_ = new_connection_status_string; |
- if(!connection_status_string_.empty()) { |
- GetWidget()->NotifyAccessibilityEvent( |
- this, ui::AccessibilityTypes::EVENT_ALERT, true); |
- } |
+ if(!connection_status_string_.empty()) |
+ NotifyAccessibilityEvent(ui::AccessibilityTypes::EVENT_ALERT, true); |
} |
} |