| Index: ui/compositor/closure_animation_observer.cc
|
| diff --git a/ui/compositor/closure_animation_observer.cc b/ui/compositor/closure_animation_observer.cc
|
| deleted file mode 100644
|
| index 2ac7f91c8d2a9209786b9a70f0d18266133674d8..0000000000000000000000000000000000000000
|
| --- a/ui/compositor/closure_animation_observer.cc
|
| +++ /dev/null
|
| @@ -1,22 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "ui/compositor/closure_animation_observer.h"
|
| -
|
| -namespace ui {
|
| -
|
| -ClosureAnimationObserver::ClosureAnimationObserver(const base::Closure& closure)
|
| - : closure_(closure) {
|
| - DCHECK(!closure_.is_null());
|
| -}
|
| -
|
| -ClosureAnimationObserver::~ClosureAnimationObserver() {
|
| -}
|
| -
|
| -void ClosureAnimationObserver::OnImplicitAnimationsCompleted() {
|
| - closure_.Run();
|
| - delete this;
|
| -}
|
| -
|
| -} // namespace ui
|
|
|