Index: ash/system/chromeos/power/power_status_view.cc |
diff --git a/ash/system/chromeos/power/power_status_view.cc b/ash/system/chromeos/power/power_status_view.cc |
index 058ac08f35208af3d8c260c98c0ab19dad772245..760c3d4da642691f83ba7c08170c3203fd6740b9 100644 |
--- a/ash/system/chromeos/power/power_status_view.cc |
+++ b/ash/system/chromeos/power/power_status_view.cc |
@@ -197,12 +197,12 @@ void PowerStatusView::ChildPreferredSizeChanged(views::View* child) { |
PreferredSizeChanged(); |
} |
-gfx::Size PowerStatusView::GetPreferredSize() { |
+gfx::Size PowerStatusView::GetPreferredSize() const { |
gfx::Size size = views::View::GetPreferredSize(); |
return gfx::Size(size.width(), kTrayPopupItemHeight); |
} |
-int PowerStatusView::GetHeightForWidth(int width) { |
+int PowerStatusView::GetHeightForWidth(int width) const { |
return kTrayPopupItemHeight; |
} |