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

Unified Diff: base/message_loop.cc

Issue 126279: Consistently use int64 for integers holding number of milliseconds. (Closed)
Patch Set: Created 11 years, 6 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.h ('k') | base/process_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop.cc
diff --git a/base/message_loop.cc b/base/message_loop.cc
index e010c73b8a28b1aeace040452c25905442a34ab1..89e2a2cdef925ec8bfb90031a363e819b3ffeaf3 100644
--- a/base/message_loop.cc
+++ b/base/message_loop.cc
@@ -232,7 +232,7 @@ void MessageLoop::PostTask(
}
void MessageLoop::PostDelayedTask(
- const tracked_objects::Location& from_here, Task* task, int delay_ms) {
+ const tracked_objects::Location& from_here, Task* task, int64 delay_ms) {
PostTask_Helper(from_here, task, delay_ms, true);
}
@@ -242,13 +242,13 @@ void MessageLoop::PostNonNestableTask(
}
void MessageLoop::PostNonNestableDelayedTask(
- const tracked_objects::Location& from_here, Task* task, int delay_ms) {
+ const tracked_objects::Location& from_here, Task* task, int64 delay_ms) {
PostTask_Helper(from_here, task, delay_ms, false);
}
// Possibly called on a background thread!
void MessageLoop::PostTask_Helper(
- const tracked_objects::Location& from_here, Task* task, int delay_ms,
+ const tracked_objects::Location& from_here, Task* task, int64 delay_ms,
bool nestable) {
task->SetBirthPlace(from_here);
« no previous file with comments | « base/message_loop.h ('k') | base/process_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698