| Index: views/animation/bounds_animator.cc
|
| ===================================================================
|
| --- views/animation/bounds_animator.cc (revision 43695)
|
| +++ views/animation/bounds_animator.cc (working copy)
|
| @@ -87,13 +87,6 @@
|
| void BoundsAnimator::SetAnimationDelegate(View* view,
|
| AnimationDelegate* delegate,
|
| bool delete_when_done) {
|
| -#if defined(OS_LINUX)
|
| - if (!IsAnimating(view))
|
| - LOG(ERROR) << "SetAnimationDelegate: not animating view";
|
| - if (data_[view].delegate)
|
| - LOG(ERROR) << "SetAnimationDelegate: delegate already set: leaking";
|
| -#endif
|
| -
|
| DCHECK(IsAnimating(view));
|
| data_[view].delegate = delegate;
|
| data_[view].delete_delegate_when_done = delete_when_done;
|
| @@ -118,10 +111,6 @@
|
| if (data_.empty())
|
| return;
|
|
|
| -#if defined(OS_LINUX)
|
| - LOG(ERROR) << "Cancelling animations";
|
| -#endif
|
| -
|
| while (!data_.empty())
|
| data_.begin()->second.animation->Stop();
|
|
|
|
|