| Index: views/animator.cc
|
| diff --git a/views/animator.cc b/views/animator.cc
|
| index 2b2a7db7bfe11250569fefe01c2fb60f698aa9e4..177b0e150e9c50eaf91d7ef51d6022e72ecf41b6 100644
|
| --- a/views/animator.cc
|
| +++ b/views/animator.cc
|
| @@ -84,6 +84,12 @@ void Animator::AnimateToBounds(const gfx::Rect& bounds, int direction) {
|
| animation_->Show();
|
| }
|
|
|
| +void Animator::AnimateToBounds(int x, int y, int width, int height,
|
| + int direction) {
|
| + AnimateToBounds(gfx::Rect(x, y, std::max(0, width), std::max(0, height)),
|
| + direction);
|
| +}
|
| +
|
| ////////////////////////////////////////////////////////////////////////////////
|
| // Animator, AnimationDelegate:
|
|
|
|
|