Index: ui/views/controls/separator.cc |
diff --git a/ui/views/controls/separator.cc b/ui/views/controls/separator.cc |
index 0dc7f21a1c30bd46d4d14e0986ceafa8c2e30d5d..a8fe6da7ef3f95fd3724735a35e98cafe3736663 100644 |
--- a/ui/views/controls/separator.cc |
+++ b/ui/views/controls/separator.cc |
@@ -28,7 +28,7 @@ Separator::~Separator() { |
//////////////////////////////////////////////////////////////////////////////// |
// Separator, View overrides: |
-gfx::Size Separator::GetPreferredSize() { |
+gfx::Size Separator::GetPreferredSize() const { |
if (orientation_ == HORIZONTAL) |
return gfx::Size(width(), kSeparatorHeight); |
return gfx::Size(kSeparatorHeight, height()); |