Index: ash/ime/candidate_view.cc |
diff --git a/ash/ime/candidate_view.cc b/ash/ime/candidate_view.cc |
index 0cafbe1bb4344130e1d49a4df819a17410577563..b13cb0a53f2ca4f5d4a29ed1d472d0da971e6223 100644 |
--- a/ash/ime/candidate_view.cc |
+++ b/ash/ime/candidate_view.cc |
@@ -26,11 +26,11 @@ class VerticalCandidateLabel : public views::Label { |
VerticalCandidateLabel() {} |
private: |
- virtual ~VerticalCandidateLabel() {} |
+ ~VerticalCandidateLabel() override {} |
// Returns the preferred size, but guarantees that the width has at |
// least kMinCandidateLabelWidth pixels. |
- virtual gfx::Size GetPreferredSize() const override { |
+ gfx::Size GetPreferredSize() const override { |
gfx::Size size = Label::GetPreferredSize(); |
size.SetToMax(gfx::Size(kMinCandidateLabelWidth, 0)); |
size.SetToMin(gfx::Size(kMaxCandidateLabelWidth, size.height())); |