Index: ash/common/system/tray/hover_highlight_view.cc |
diff --git a/ash/common/system/tray/hover_highlight_view.cc b/ash/common/system/tray/hover_highlight_view.cc |
index 739810c9076559400fdefd1f6149f22c1f317918..bce79a46e2fdbd8ba3f39f8a83269d2e05ca5c47 100644 |
--- a/ash/common/system/tray/hover_highlight_view.cc |
+++ b/ash/common/system/tray/hover_highlight_view.cc |
@@ -373,12 +373,11 @@ void HoverHighlightView::GetAccessibleNodeData(ui::AXNodeData* node_data) { |
gfx::Size HoverHighlightView::GetPreferredSize() const { |
gfx::Size size = ActionableView::GetPreferredSize(); |
- const int default_height = GetTrayConstant(TRAY_POPUP_ITEM_MIN_HEIGHT); |
if (custom_height_) |
size.set_height(custom_height_); |
- else if (!expandable_ || size.height() < default_height) |
- size.set_height(default_height); |
+ else if (!expandable_ || size.height() < kTrayPopupItemMinHeight) |
+ size.set_height(kTrayPopupItemMinHeight); |
return size; |
} |