diff options
author | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-12 17:11:37 +0000 |
---|---|---|
committer | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-12 17:11:37 +0000 |
commit | 4f4b2ac3eee9515b079b524606de07bd04a346c7 (patch) | |
tree | cc875fa3180815f7c943954ba66a6ac41cad2482 /webkit/support | |
parent | 8da0d4e4abcaef0169a1a8b90f26ddc5b9620b1d (diff) | |
download | chromium_src-4f4b2ac3eee9515b079b524606de07bd04a346c7.zip chromium_src-4f4b2ac3eee9515b079b524606de07bd04a346c7.tar.gz chromium_src-4f4b2ac3eee9515b079b524606de07bd04a346c7.tar.bz2 |
Convert use of int ms to TimeDelta in files owned by tkent.
R=tkent@chromium.org
BUG=108171
TEST=
Review URL: http://codereview.chromium.org/9139033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117442 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support')
-rw-r--r-- | webkit/support/simple_database_system.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/webkit/support/simple_database_system.cc b/webkit/support/simple_database_system.cc index 1f2f0b5..77fec92 100644 --- a/webkit/support/simple_database_system.cc +++ b/webkit/support/simple_database_system.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -246,7 +246,9 @@ void SimpleDatabaseSystem::VfsDeleteFile( *result = VfsBackend::DeleteFile(file_name, sync_dir); } while ((++num_retries < kNumDeleteRetries) && (*result == SQLITE_IOERR_DELETE) && - (base::PlatformThread::Sleep(10), 1)); + (base::PlatformThread::Sleep( + base::TimeDelta::FromMilliseconds(10)), + 1)); done_event->Signal(); } |