1 --- chromium-browser-6.0.464.0~svn20100713r52155/src/base/watchdog_unittest.cc~ 2010-06-03 05:04:36.000000000 +0300
2 +++ chromium-browser-6.0.464.0~svn20100713r52155/src/base/watchdog_unittest.cc 2010-07-13 12:41:18.035417689 +0300
5 // Make sure a basic alarm fires when the time has expired.
6 TEST_F(WatchdogTest, AlarmPriorTimeTest) {
7 - WatchdogCounter watchdog(TimeDelta::TimeDelta(), "Enabled2", true);
8 + WatchdogCounter watchdog(TimeDelta(), "Enabled2", true);
9 // Set a time in the past.
10 watchdog.ArmSomeTimeDeltaAgo(TimeDelta::FromSeconds(2));
11 // It should instantly go off, but certainly in less than 5 minutes.