| 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 db2814f4ddf6877fe9b4914e565e85a569edfb83..ddd71817eb6411d57347b6ae12f8bf52474dd406 100644
|
| --- a/ash/system/web_notification/web_notification_tray.cc
|
| +++ b/ash/system/web_notification/web_notification_tray.cc
|
| @@ -226,12 +226,6 @@ bool WebNotificationTray::ShowMessageCenterInternal(bool show_settings) {
|
| max_height = shelf_bounds.y();
|
| break;
|
| }
|
| - case SHELF_ALIGNMENT_TOP: {
|
| - aura::Window* root = status_area_window->GetRootWindow();
|
| - max_height =
|
| - root->bounds().height() - status_area_window->bounds().height();
|
| - break;
|
| - }
|
| case SHELF_ALIGNMENT_LEFT:
|
| case SHELF_ALIGNMENT_RIGHT: {
|
| // Assume that the bottom line of the status area widget and the bubble
|
|
|