| Index: ui/base/animation/animation_unittest.cc
|
| diff --git a/ui/base/animation/animation_unittest.cc b/ui/base/animation/animation_unittest.cc
|
| index a2321c403daeed284c404f7ec5d481359f87557e..007f92d07d49809a39932e03ce70f295b33ef316 100644
|
| --- a/ui/base/animation/animation_unittest.cc
|
| +++ b/ui/base/animation/animation_unittest.cc
|
| @@ -15,7 +15,7 @@ namespace ui {
|
|
|
| class AnimationTest: public testing::Test {
|
| private:
|
| - MessageLoopForUI message_loop_;
|
| + base::MessageLoopForUI message_loop_;
|
| };
|
|
|
| namespace {
|
| @@ -73,7 +73,7 @@ class DeletingAnimationDelegate : public AnimationDelegate {
|
| public:
|
| virtual void AnimationEnded(const Animation* animation) OVERRIDE {
|
| delete animation;
|
| - MessageLoop::current()->Quit();
|
| + base::MessageLoop::current()->Quit();
|
| }
|
| };
|
|
|
| @@ -87,7 +87,7 @@ TEST_F(AnimationTest, RunCase) {
|
| RunAnimation a1(150, &ad);
|
| a1.SetDuration(2000);
|
| a1.Start();
|
| - MessageLoop::current()->Run();
|
| + base::MessageLoop::current()->Run();
|
|
|
| EXPECT_TRUE(ad.finished());
|
| EXPECT_FALSE(ad.canceled());
|
| @@ -97,7 +97,7 @@ TEST_F(AnimationTest, CancelCase) {
|
| TestAnimationDelegate ad;
|
| CancelAnimation a2(2000, 150, &ad);
|
| a2.Start();
|
| - MessageLoop::current()->Run();
|
| + base::MessageLoop::current()->Run();
|
|
|
| EXPECT_TRUE(ad.finished());
|
| EXPECT_TRUE(ad.canceled());
|
| @@ -109,7 +109,7 @@ TEST_F(AnimationTest, EndCase) {
|
| TestAnimationDelegate ad;
|
| EndAnimation a2(2000, 150, &ad);
|
| a2.Start();
|
| - MessageLoop::current()->Run();
|
| + base::MessageLoop::current()->Run();
|
|
|
| EXPECT_TRUE(ad.finished());
|
| EXPECT_FALSE(ad.canceled());
|
| @@ -120,7 +120,7 @@ TEST_F(AnimationTest, DeleteFromEnd) {
|
| DeletingAnimationDelegate delegate;
|
| RunAnimation* animation = new RunAnimation(150, &delegate);
|
| animation->Start();
|
| - MessageLoop::current()->Run();
|
| + base::MessageLoop::current()->Run();
|
| // delegate should have deleted animation.
|
| }
|
|
|
|
|