Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1950)

Unified Diff: base/timer.cc

Issue 9233018: Convert use of int ms to TimeDelta in files owned by brettw. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase onto master. Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/message_loop_proxy_impl.cc ('k') | chrome/browser/feedback/feedback_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/timer.cc
diff --git a/base/timer.cc b/base/timer.cc
index 9d175f3ef8bbd547bcc9400a14d395084449b0b4..7b6366e1110e069fd6374bebe436639cbe27485f 100644
--- a/base/timer.cc
+++ b/base/timer.cc
@@ -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
« no previous file with comments | « base/message_loop_proxy_impl.cc ('k') | chrome/browser/feedback/feedback_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698