Index: ash/system/audio/volume_view.cc |
diff --git a/ash/system/audio/volume_view.cc b/ash/system/audio/volume_view.cc |
index 03b3884fc6589147c37243bd978c9ae2b4514753..e12f7659b81e160c63479f7598c7e24c3c51d6c4 100644 |
--- a/ash/system/audio/volume_view.cc |
+++ b/ash/system/audio/volume_view.cc |
@@ -73,7 +73,7 @@ class VolumeButton : public views::ToggleImageButton { |
private: |
// Overridden from views::View. |
- virtual gfx::Size GetPreferredSize() OVERRIDE { |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE { |
gfx::Size size = views::ToggleImageButton::GetPreferredSize(); |
size.set_height(kTrayPopupItemHeight); |
return size; |
@@ -119,7 +119,7 @@ class BarSeparator : public views::View { |
virtual ~BarSeparator() {} |
// Overriden from views::View. |
- virtual gfx::Size GetPreferredSize() OVERRIDE { |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE { |
return gfx::Size(kBarSeparatorWidth, kBarSeparatorHeight); |
} |