Index: ui/views/animation/bounds_animator_unittest.cc |
diff --git a/ui/views/animation/bounds_animator_unittest.cc b/ui/views/animation/bounds_animator_unittest.cc |
index b8f62a2f7ae359e6774a6c35ac156881effb66fc..27f2b58bc8bf6340b958ed955212c40bd651d08b 100644 |
--- a/ui/views/animation/bounds_animator_unittest.cc |
+++ b/ui/views/animation/bounds_animator_unittest.cc |
@@ -22,7 +22,7 @@ class TestBoundsAnimator : public BoundsAnimator { |
} |
protected: |
- virtual SlideAnimation* CreateAnimation() override { |
+ SlideAnimation* CreateAnimation() override { |
SlideAnimation* animation = BoundsAnimator::CreateAnimation(); |
animation->SetSlideDuration(10); |
return animation; |
@@ -36,9 +36,7 @@ class OwnedDelegate : public gfx::AnimationDelegate { |
public: |
OwnedDelegate() {} |
- virtual ~OwnedDelegate() { |
- deleted_ = true; |
- } |
+ ~OwnedDelegate() override { deleted_ = true; } |
static bool GetAndClearDeleted() { |
bool value = deleted_; |
@@ -53,7 +51,7 @@ class OwnedDelegate : public gfx::AnimationDelegate { |
} |
// Overridden from gfx::AnimationDelegate: |
- virtual void AnimationCanceled(const Animation* animation) override { |
+ void AnimationCanceled(const Animation* animation) override { |
canceled_ = true; |
} |
@@ -72,7 +70,7 @@ class TestView : public View { |
public: |
TestView() {} |
- virtual void SchedulePaintInRect(const gfx::Rect& r) override { |
+ void SchedulePaintInRect(const gfx::Rect& r) override { |
if (dirty_rect_.IsEmpty()) |
dirty_rect_ = r; |
else |