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 00ca5ae9d5b0c251e13a2912036a970ab0ae029e..edf39b24345881e0692152edf389fc9803cd8307 100644 |
--- a/ash/common/system/web_notification/web_notification_tray.cc |
+++ b/ash/common/system/web_notification/web_notification_tray.cc |
@@ -345,10 +345,11 @@ void WebNotificationTray::UpdateAfterLoginStatusChange( |
OnMessageCenterTrayChanged(); |
} |
-void WebNotificationTray::SetShelfAlignment(ShelfAlignment alignment) { |
+void WebNotificationTray::SetShelfAlignment(ShelfAlignment alignment, |
+ const gfx::Insets& insets) { |
if (alignment == shelf_alignment()) |
return; |
- TrayBackgroundView::SetShelfAlignment(alignment); |
+ TrayBackgroundView::SetShelfAlignment(alignment, insets); |
tray_container()->SetBorder(views::Border::NullBorder()); |
// Destroy any existing bubble so that it will be rebuilt correctly. |
message_center_tray_->HideMessageCenterBubble(); |