summaryrefslogtreecommitdiffstats
path: root/ui/views/animation/bounds_animator_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/animation/bounds_animator_unittest.cc')
-rw-r--r--ui/views/animation/bounds_animator_unittest.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/ui/views/animation/bounds_animator_unittest.cc b/ui/views/animation/bounds_animator_unittest.cc
index b8f62a2..27f2b58 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