diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-11 09:23:32 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-11 09:23:32 +0000 |
commit | 3f45597ed0041c49a627fd5e2be55ff6d5570022 (patch) | |
tree | ebf87acaf63390b98c0340a44f36339ff888450a /base | |
parent | 49ab556cfe14de363a74ce771931832304a1a038 (diff) | |
download | chromium_src-3f45597ed0041c49a627fd5e2be55ff6d5570022.zip chromium_src-3f45597ed0041c49a627fd5e2be55ff6d5570022.tar.gz chromium_src-3f45597ed0041c49a627fd5e2be55ff6d5570022.tar.bz2 |
[Linux] Fix base_unittests for GCC 4.5.1
This is upstreaming a Gentoo Linux patch.
I have encountered this tiny compile issue
when using a more recent GCC.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/5791001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68933 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/watchdog_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/watchdog_unittest.cc b/base/watchdog_unittest.cc index 19dfe28..658a31a 100644 --- a/base/watchdog_unittest.cc +++ b/base/watchdog_unittest.cc @@ -86,7 +86,7 @@ TEST_F(WatchdogTest, AlarmTest) { // Make sure a basic alarm fires when the time has expired. TEST_F(WatchdogTest, AlarmPriorTimeTest) { - WatchdogCounter watchdog(TimeDelta::TimeDelta(), "Enabled2", true); + WatchdogCounter watchdog(TimeDelta(), "Enabled2", true); // Set a time in the past. watchdog.ArmSomeTimeDeltaAgo(TimeDelta::FromSeconds(2)); // It should instantly go off, but certainly in less than 5 minutes. |