| Index: base/time/time_win_unittest.cc
|
| diff --git a/base/time/time_win_unittest.cc b/base/time/time_win_unittest.cc
|
| index baaa32228a05cd3b681cb8e2c2818d9828af6ff6..e2bb893c199f5413747ef3fd1204e1db65a90149 100644
|
| --- a/base/time/time_win_unittest.cc
|
| +++ b/base/time/time_win_unittest.cc
|
| @@ -150,11 +150,7 @@ TEST(TimeTicks, TimeGetTimeCaps) {
|
|
|
| TIMECAPS caps;
|
| MMRESULT status = timeGetDevCaps(&caps, sizeof(caps));
|
| - EXPECT_EQ(TIMERR_NOERROR, status);
|
| - if (status != TIMERR_NOERROR) {
|
| - printf("Could not get timeGetDevCaps\n");
|
| - return;
|
| - }
|
| + ASSERT_EQ(static_cast<MMRESULT>(MMSYSERR_NOERROR), status);
|
|
|
| EXPECT_GE(static_cast<int>(caps.wPeriodMin), 1);
|
| EXPECT_GT(static_cast<int>(caps.wPeriodMax), 1);
|
|
|