| 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 9b7d7d2cd4ee6edb7510aa0c403a05aac70e6af1..393ca08a99842f9dad47cb29b8deff4c72ffb513 100644
|
| --- a/ash/common/system/web_notification/web_notification_tray.cc
|
| +++ b/ash/common/system/web_notification/web_notification_tray.cc
|
| @@ -215,7 +215,6 @@ WebNotificationTray::WebNotificationTray(WmShelf* shelf,
|
|
|
| tray_container()->AddChildView(icon_);
|
| SetContentsBackground();
|
| - tray_container()->SetBorder(views::Border::NullBorder());
|
| message_center_tray_.reset(new message_center::MessageCenterTray(
|
| this, message_center::MessageCenter::Get()));
|
| popup_alignment_delegate_.reset(new AshPopupAlignmentDelegate(shelf));
|
| @@ -342,9 +341,6 @@ void WebNotificationTray::SetShelfAlignment(ShelfAlignment alignment) {
|
| if (alignment == shelf_alignment())
|
| return;
|
| TrayBackgroundView::SetShelfAlignment(alignment);
|
| - // Every time shelf alignment is updated, StatusAreaWidgetDelegate resets the
|
| - // border to a non-null border. So, we need to remove it.
|
| - tray_container()->SetBorder(views::Border::NullBorder());
|
| // Destroy any existing bubble so that it will be rebuilt correctly.
|
| message_center_tray_->HideMessageCenterBubble();
|
| message_center_tray_->HidePopupBubble();
|
|
|