Index: ash/system/tray/hover_highlight_view.cc |
diff --git a/ash/system/tray/hover_highlight_view.cc b/ash/system/tray/hover_highlight_view.cc |
index 539cb722cb54aaa0ec20e5cdb8fdcf9ea3b0ec79..e87708cac04a1d9da117aca6ee777baa6f854bbd 100644 |
--- a/ash/system/tray/hover_highlight_view.cc |
+++ b/ash/system/tray/hover_highlight_view.cc |
@@ -147,14 +147,14 @@ void HoverHighlightView::GetAccessibleState(ui::AXViewState* state) { |
} |
} |
-gfx::Size HoverHighlightView::GetPreferredSize() { |
+gfx::Size HoverHighlightView::GetPreferredSize() const { |
gfx::Size size = ActionableView::GetPreferredSize(); |
if (!expandable_ || size.height() < kTrayPopupItemHeight) |
size.set_height(kTrayPopupItemHeight); |
return size; |
} |
-int HoverHighlightView::GetHeightForWidth(int width) { |
+int HoverHighlightView::GetHeightForWidth(int width) const { |
return GetPreferredSize().height(); |
} |