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..ff33586bf959e042d7624084491cd62c26916674 100644 |
--- a/ash/system/web_notification/web_notification_tray.cc |
+++ b/ash/system/web_notification/web_notification_tray.cc |
@@ -330,7 +330,8 @@ bool WebNotificationTray::ShowMessageCenterInternal(bool show_settings) { |
NOTREACHED(); |
} |
- message_center_bubble->SetMaxHeight(std::max(0, max_height - kTraySpacing)); |
+ message_center_bubble->SetMaxHeight(std::max(0, |
+ max_height - GetTraySpacing())); |
if (show_settings) |
message_center_bubble->SetSettingsVisible(); |
message_center_bubble_.reset( |