diff options
author | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-30 22:08:08 +0000 |
---|---|---|
committer | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-30 22:08:08 +0000 |
commit | 09ced2b1ec5f32720ec51310dd05b9e81ec517fc (patch) | |
tree | 9ce3fb7b62809dbac0a47e72faf84091d34df3ae /net | |
parent | 91e6a43cc44c53e169c29420af27c81045c75a89 (diff) | |
download | chromium_src-09ced2b1ec5f32720ec51310dd05b9e81ec517fc.zip chromium_src-09ced2b1ec5f32720ec51310dd05b9e81ec517fc.tar.gz chromium_src-09ced2b1ec5f32720ec51310dd05b9e81ec517fc.tar.bz2 |
Update a few more function calls to use TimeDeltas instead of int ms.
A few more uses of the old Sleep(int ms) and PostDelayedTask()
interfaces slipped through since my last round of updates. Can you review
these?
R=jar@chromium.org
BUG=108171
TEST=
Review URL: http://codereview.chromium.org/9104014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119743 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/cookie_monster_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/cookie_monster_unittest.cc b/net/base/cookie_monster_unittest.cc index 19ad779..128bd7a 100644 --- a/net/base/cookie_monster_unittest.cc +++ b/net/base/cookie_monster_unittest.cc @@ -695,7 +695,7 @@ class CookieMonsterTest : public testing::Test { // Runs the test thread message loop for up to |ms| milliseconds. MessageLoop::current()->PostDelayedTask( FROM_HERE, base::Bind(&MessageLoop::Quit, weak_factory_.GetWeakPtr()), - ms); + base::TimeDelta::FromMilliseconds(ms)); MessageLoop::current()->Run(); weak_factory_.InvalidateWeakPtrs(); } |