| Index: ash/common/system/web_notification/web_notification_tray.cc
|
| diff --git a/ash/common/system/web_notification/web_notification_tray.cc b/ash/common/system/web_notification/web_notification_tray.cc
|
| index b6814039a77f344028998afda57d9a4733093c54..756f5fef16363fc0100ad0e3a5aaf5534624aa5e 100644
|
| --- a/ash/common/system/web_notification/web_notification_tray.cc
|
| +++ b/ash/common/system/web_notification/web_notification_tray.cc
|
| @@ -379,7 +379,7 @@ bool WebNotificationTray::ShowMessageCenterInternal(bool show_settings) {
|
| // For vertical shelf alignments, anchor to the WebNotificationTray, but for
|
| // horizontal (i.e. bottom) shelves, anchor to the system tray.
|
| TrayBackgroundView* anchor_tray = this;
|
| - if (shelf_alignment() == SHELF_ALIGNMENT_BOTTOM) {
|
| + if (IsHorizontalAlignment(shelf_alignment())) {
|
| anchor_tray = WmShelf::ForWindow(status_area_window_)
|
| ->GetStatusAreaWidget()
|
| ->system_tray();
|
|
|