summaryrefslogtreecommitdiffstats
path: root/base/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/timer.h')
-rw-r--r--base/timer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/base/timer.h b/base/timer.h
index 887c2c3..a87149e 100644
--- a/base/timer.h
+++ b/base/timer.h
@@ -85,8 +85,7 @@ class BaseTimer_Helper {
// We have access to the timer_ member so we can orphan this task.
class TimerTask : public Task {
public:
- TimerTask(TimeDelta delay) : delay_(delay) {
- // timer_ is set in InitiateDelayedTask.
+ TimerTask(TimeDelta delay) : timer_(NULL), delay_(delay) {
}
virtual ~TimerTask() {}
BaseTimer_Helper* timer_;