diff options
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 9d175f3..5c2aa21 100644 --- a/base/timer.cc +++ b/base/timer.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -25,7 +25,7 @@ void BaseTimer_Helper::InitiateDelayedTask(TimerTask* timer_task) { MessageLoop::current()->PostDelayedTask( timer_task->posted_from_, base::Bind(&TimerTask::Run, base::Owned(timer_task)), - static_cast<int>(timer_task->delay_.InMillisecondsRoundedUp())); + timer_task->delay_); } } // namespace base |