diff options
author | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-12 22:41:22 +0000 |
---|---|---|
committer | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-12 22:41:22 +0000 |
commit | f75b3353303c01d012392e407876dd0904330b6f (patch) | |
tree | e0a1191e71f0900da07c71bff93126528c318c58 /base/timer.cc | |
parent | f50523351fe2377f253d60172131a36b712f7c1a (diff) | |
download | chromium_src-f75b3353303c01d012392e407876dd0904330b6f.zip chromium_src-f75b3353303c01d012392e407876dd0904330b6f.tar.gz chromium_src-f75b3353303c01d012392e407876dd0904330b6f.tar.bz2 |
fix initialization order warning
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@757 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/timer.cc')
-rw-r--r-- | base/timer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/timer.cc b/base/timer.cc index 7c3a636..9fc2f3e 100644 --- a/base/timer.cc +++ b/base/timer.cc @@ -82,8 +82,8 @@ static base::AtomicSequenceNumber timer_id_counter_; // Timer Timer::Timer(int delay, Task* task, bool repeating) - : delay_(delay), - task_(task), + : task_(task), + delay_(delay), repeating_(repeating) { timer_id_ = timer_id_counter_.GetNext(); DCHECK(delay >= 0); |