Index: ash/system/tray/tray_background_view.cc |
diff --git a/ash/system/tray/tray_background_view.cc b/ash/system/tray/tray_background_view.cc |
index 23d5290d4824d27c1c38defe946154a961f2224b..b6d06da3232dfe8f30e6006f32e71270dbc25ccf 100644 |
--- a/ash/system/tray/tray_background_view.cc |
+++ b/ash/system/tray/tray_background_view.cc |
@@ -229,7 +229,7 @@ void TrayBackgroundView::TrayContainer::SetAlignment(ShelfAlignment alignment) { |
UpdateLayout(); |
} |
-gfx::Size TrayBackgroundView::TrayContainer::GetPreferredSize() { |
+gfx::Size TrayBackgroundView::TrayContainer::GetPreferredSize() const { |
if (size_.IsEmpty()) |
return views::View::GetPreferredSize(); |
return size_; |