Index: ash/ime/candidate_view.cc |
diff --git a/ash/ime/candidate_view.cc b/ash/ime/candidate_view.cc |
index 4071071255427cd0160e57c5d4e7ee5a6c52364f..c746400985bd3c0c40284f78583b1184f1bd39e9 100644 |
--- a/ash/ime/candidate_view.cc |
+++ b/ash/ime/candidate_view.cc |
@@ -30,7 +30,7 @@ class VerticalCandidateLabel : public views::Label { |
// Returns the preferred size, but guarantees that the width has at |
// least kMinCandidateLabelWidth pixels. |
- virtual gfx::Size GetPreferredSize() OVERRIDE { |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE { |
gfx::Size size = Label::GetPreferredSize(); |
size.SetToMax(gfx::Size(kMinCandidateLabelWidth, 0)); |
size.SetToMin(gfx::Size(kMaxCandidateLabelWidth, size.height())); |