| Index: ash/system/web_notification/web_notification_tray.cc
|
| diff --git a/ash/system/web_notification/web_notification_tray.cc b/ash/system/web_notification/web_notification_tray.cc
|
| index e59b24127973c2900f52fb1674e4fb89f41c649d..03be8b17650d3ccd4b780d7cff9f4b037d26d92e 100644
|
| --- a/ash/system/web_notification/web_notification_tray.cc
|
| +++ b/ash/system/web_notification/web_notification_tray.cc
|
| @@ -330,7 +330,9 @@ bool WebNotificationTray::ShowMessageCenterInternal(bool show_settings) {
|
| NOTREACHED();
|
| }
|
|
|
| - message_center_bubble->SetMaxHeight(std::max(0, max_height - kTraySpacing));
|
| + int spacing = ash::switches::UseAlternateShelfLayout() ?
|
| + kAlternateTraySpacing : kTraySpacing;
|
| + message_center_bubble->SetMaxHeight(std::max(0, max_height - spacing));
|
| if (show_settings)
|
| message_center_bubble->SetSettingsVisible();
|
| message_center_bubble_.reset(
|
|
|