Index: ash/system/drive/tray_drive.cc |
diff --git a/ash/system/drive/tray_drive.cc b/ash/system/drive/tray_drive.cc |
index c00b5bbb392838ba30d2bf88e6b58169f55328c1..33217f193373a3e65c70a70cd02465699b4e4534 100644 |
--- a/ash/system/drive/tray_drive.cc |
+++ b/ash/system/drive/tray_drive.cc |
@@ -129,7 +129,7 @@ class DriveDetailedView : public TrayDetailsView, |
private: |
// Overridden from View: |
- virtual gfx::Size GetPreferredSize() OVERRIDE { |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE { |
return gfx::Size(kProgressBarWidth, kProgressBarHeight); |
} |
@@ -198,7 +198,7 @@ class DriveDetailedView : public TrayDetailsView, |
private: |
// views::View overrides. |
- virtual gfx::Size GetPreferredSize() OVERRIDE { |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE { |
return gfx::Size( |
status_img_->GetPreferredSize().width() + |
label_container_->GetPreferredSize().width() + |