summaryrefslogtreecommitdiffstats
path: root/base/timer_unittest.cc
diff options
context:
space:
mode:
authordarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-12 23:25:43 +0000
committerdarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-12 23:25:43 +0000
commita5b94a90c11917b9c7f1d91c9a2069badc22819e (patch)
treeb37df6a3cab7423d33ca6d6147fe68ead3a9f844 /base/timer_unittest.cc
parent0c6332fe5c874df3fcf1d3b29a6e633efb3418eb (diff)
downloadchromium_src-a5b94a90c11917b9c7f1d91c9a2069badc22819e.zip
chromium_src-a5b94a90c11917b9c7f1d91c9a2069badc22819e.tar.gz
chromium_src-a5b94a90c11917b9c7f1d91c9a2069badc22819e.tar.bz2
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@760 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/timer_unittest.cc')
-rw-r--r--base/timer_unittest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/timer_unittest.cc b/base/timer_unittest.cc
index 814836b..4c2593f 100644
--- a/base/timer_unittest.cc
+++ b/base/timer_unittest.cc
@@ -295,6 +295,9 @@ TEST(TimerTest, FifoOrder) {
class MockTimerManager : public TimerManager {
public:
+ MockTimerManager() : TimerManager(MessageLoop::current()) {
+ }
+
// Pops the most-recent to fire timer and returns its timer id.
// Returns -1 if there are no timers in the list.
int pop() {