| Index: base/message_loop_unittest.cc
|
| diff --git a/base/message_loop_unittest.cc b/base/message_loop_unittest.cc
|
| index c471e38b5994be8cf480f9811419aa5842c33b97..9576a5818dc902053216dc6cfe9cbbdaf779acec 100644
|
| --- a/base/message_loop_unittest.cc
|
| +++ b/base/message_loop_unittest.cc
|
| @@ -1555,18 +1555,18 @@ TEST(MessageLoopTest, HighResolutionTimer) {
|
| const int kFastTimerMs = 5;
|
| const int kSlowTimerMs = 100;
|
|
|
| - EXPECT_EQ(false, loop.high_resolution_timers_enabled());
|
| + EXPECT_FALSE(loop.high_resolution_timers_enabled());
|
|
|
| // Post a fast task to enable the high resolution timers.
|
| loop.PostDelayedTask(FROM_HERE, new DummyTask(1), kFastTimerMs);
|
| loop.Run();
|
| - EXPECT_EQ(true, loop.high_resolution_timers_enabled());
|
| + EXPECT_TRUE(loop.high_resolution_timers_enabled());
|
|
|
| // Post a slow task and verify high resolution timers
|
| // are still enabled.
|
| loop.PostDelayedTask(FROM_HERE, new DummyTask(1), kSlowTimerMs);
|
| loop.Run();
|
| - EXPECT_EQ(true, loop.high_resolution_timers_enabled());
|
| + EXPECT_TRUE(loop.high_resolution_timers_enabled());
|
|
|
| // Wait for a while so that high-resolution mode elapses.
|
| Sleep(MessageLoop::kHighResolutionTimerModeLeaseTimeMs);
|
| @@ -1574,7 +1574,7 @@ TEST(MessageLoopTest, HighResolutionTimer) {
|
| // Post a slow task to disable the high resolution timers.
|
| loop.PostDelayedTask(FROM_HERE, new DummyTask(1), kSlowTimerMs);
|
| loop.Run();
|
| - EXPECT_EQ(false, loop.high_resolution_timers_enabled());
|
| + EXPECT_FALSE(loop.high_resolution_timers_enabled());
|
| }
|
|
|
| #endif // defined(OS_WIN)
|
|
|