summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/stress_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/stress_cache.cc')
-rw-r--r--net/disk_cache/stress_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/stress_cache.cc b/net/disk_cache/stress_cache.cc
index b01e5b3..56e1346 100644
--- a/net/disk_cache/stress_cache.cc
+++ b/net/disk_cache/stress_cache.cc
@@ -208,7 +208,7 @@ void CrashCallback() {
}
void RunSoon(MessageLoop* target_loop) {
- const int kTaskDelay = 10000; // 10 seconds
+ const base::TimeDelta kTaskDelay = base::TimeDelta::FromSeconds(10);
target_loop->PostDelayedTask(
FROM_HERE, base::Bind(&CrashCallback), kTaskDelay);
}