diff options
author | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-08 20:58:42 +0000 |
---|---|---|
committer | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-08 20:58:42 +0000 |
commit | 7e56010853309e90693023fe9f0c5a1c086840dc (patch) | |
tree | 1e07263b561a17907332086e5f079f5e956f5df6 /net/disk_cache | |
parent | 28632b2da6dca24e62a95d934b0ae8d866c7f65c (diff) | |
download | chromium_src-7e56010853309e90693023fe9f0c5a1c086840dc.zip chromium_src-7e56010853309e90693023fe9f0c5a1c086840dc.tar.gz chromium_src-7e56010853309e90693023fe9f0c5a1c086840dc.tar.bz2 |
Convert uses of int ms to TimeDelta in chrome/browser and net (second try).
R=jar@chromium.org
BUG=108171
Review URL: http://codereview.chromium.org/9595007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125680 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache')
-rw-r--r-- | net/disk_cache/stress_cache.cc | 2 |
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); } |