Index: ash/wm/gestures/long_press_affordance_handler.cc |
diff --git a/ash/wm/gestures/long_press_affordance_handler.cc b/ash/wm/gestures/long_press_affordance_handler.cc |
index 49d3bd867df1494084532ae678190551b41fcd5a..aa8ce3890ab740549617ad5a524f96f2b5e4e439 100644 |
--- a/ash/wm/gestures/long_press_affordance_handler.cc |
+++ b/ash/wm/gestures/long_press_affordance_handler.cc |
@@ -161,8 +161,7 @@ class LongPressAffordanceHandler::LongPressAffordanceView |
widget_->GetNativeView()->layer()->SetOpacity(kAffordanceOpacityStartValue); |
} |
- virtual ~LongPressAffordanceView() { |
- } |
+ ~LongPressAffordanceView() override {} |
void UpdateWithGrowAnimation(gfx::Animation* animation) { |
// Update the portion of the circle filled so far and re-draw. |
@@ -187,12 +186,12 @@ class LongPressAffordanceHandler::LongPressAffordanceView |
private: |
// Overridden from views::View. |
- virtual gfx::Size GetPreferredSize() const override { |
+ gfx::Size GetPreferredSize() const override { |
return gfx::Size(2 * (kAffordanceOuterRadius + kAffordanceGlowWidth), |
2 * (kAffordanceOuterRadius + kAffordanceGlowWidth)); |
} |
- virtual void OnPaint(gfx::Canvas* canvas) override { |
+ void OnPaint(gfx::Canvas* canvas) override { |
gfx::Point center(GetPreferredSize().width() / 2, |
GetPreferredSize().height() / 2); |
canvas->Save(); |