Index: ash/common/system/status_area_widget.cc |
diff --git a/ash/common/system/status_area_widget.cc b/ash/common/system/status_area_widget.cc |
index c091e7a4332a8137dea744374785d06c981889e5..99059646443daeb5db773baaaab2ab651902c7d9 100644 |
--- a/ash/common/system/status_area_widget.cc |
+++ b/ash/common/system/status_area_widget.cc |
@@ -148,9 +148,7 @@ bool StatusAreaWidget::ShouldShowShelf() const { |
// If the shelf is currently visible, don't hide the shelf if the mouse |
// is in any of the notification bubbles. |
- return (system_tray_ && system_tray_->IsMouseInNotificationBubble()) || |
- (web_notification_tray_ && |
- web_notification_tray_->IsMouseInNotificationBubble()); |
+ return (system_tray_ && system_tray_->IsMouseInNotificationBubble()); |
James Cook
2017/01/23 17:11:01
nit: no parens
yiyix
2017/01/23 21:15:33
Done.
|
} |
bool StatusAreaWidget::IsMessageBubbleShown() const { |