Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Unified Diff: ui/base/animation/animation_container_unittest.cc

Issue 14061025: ui: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/root_window_host_x11.cc ('k') | ui/base/animation/animation_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/animation/animation_container_unittest.cc
diff --git a/ui/base/animation/animation_container_unittest.cc b/ui/base/animation/animation_container_unittest.cc
index 45beeede941969051ac9e7bbcb853536bae85b4f..c516cf325f8c9f60399e7eafd214dbfe5ce558d1 100644
--- a/ui/base/animation/animation_container_unittest.cc
+++ b/ui/base/animation/animation_container_unittest.cc
@@ -44,7 +44,7 @@ class TestAnimation : public LinearAnimation {
class AnimationContainerTest: public testing::Test {
private:
- MessageLoopForUI message_loop_;
+ base::MessageLoopForUI message_loop_;
};
// Makes sure the animation ups the ref count of the container and releases it
@@ -81,7 +81,7 @@ TEST_F(AnimationContainerTest, Multi) {
EXPECT_TRUE(container->is_running());
// Run the message loop the delegate quits the message loop when notified.
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
// Both timers should have finished.
EXPECT_TRUE(delegate1.finished());
@@ -112,7 +112,7 @@ TEST_F(AnimationContainerTest, Observer) {
EXPECT_TRUE(container->is_running());
// Run the message loop. The delegate quits the message loop when notified.
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
// The timer should have finished.
EXPECT_TRUE(delegate1.finished());
« no previous file with comments | « ui/aura/root_window_host_x11.cc ('k') | ui/base/animation/animation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698