| 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 f8421ae6af522ab04b19b01c0c535cfbf190f3dc..39fcf7452f0dc6acd56e22b9f9fd90ba2c381818 100644
|
| --- a/ui/views/animation/bounds_animator_unittest.cc
|
| +++ b/ui/views/animation/bounds_animator_unittest.cc
|
| @@ -5,6 +5,7 @@
|
| #include "ui/views/animation/bounds_animator.h"
|
|
|
| #include "base/macros.h"
|
| +#include "base/run_loop.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "ui/gfx/animation/slide_animation.h"
|
| #include "ui/gfx/animation/test_animation_delegate.h"
|
| @@ -122,7 +123,7 @@ TEST_F(BoundsAnimatorTest, AnimateViewTo) {
|
|
|
| // Run the message loop; the delegate exits the loop when the animation is
|
| // done.
|
| - base::MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
|
|
| // Make sure the bounds match of the view that was animated match.
|
| EXPECT_EQ(target_bounds, child()->bounds());
|
|
|