diff options
author | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-16 01:46:26 +0000 |
---|---|---|
committer | tedvessenes@gmail.com <tedvessenes@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-16 01:46:26 +0000 |
commit | 14b95f1e35ee10b56b0ec6b88d2f563d5c14e99b (patch) | |
tree | bf18cab4afa4013ece3600c10daadaeb62428291 /chrome/common/service_process_util_linux.cc | |
parent | 24469df740672071da7cb0a44386fff9d9cacb7f (diff) | |
download | chromium_src-14b95f1e35ee10b56b0ec6b88d2f563d5c14e99b.zip chromium_src-14b95f1e35ee10b56b0ec6b88d2f563d5c14e99b.tar.gz chromium_src-14b95f1e35ee10b56b0ec6b88d2f563d5c14e99b.tar.bz2 |
Convert use of int ms to TimeDelta in files owned by brettw.
R=brettw@chromium.org
BUG=108171
TEST=
Review URL: http://codereview.chromium.org/9185026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117824 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/service_process_util_linux.cc')
-rw-r--r-- | chrome/common/service_process_util_linux.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/service_process_util_linux.cc b/chrome/common/service_process_util_linux.cc index 457a50c..5fb5a81 100644 --- a/chrome/common/service_process_util_linux.cc +++ b/chrome/common/service_process_util_linux.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. @@ -31,7 +31,7 @@ MultiProcessLock* TakeNamedLock(const std::string& name, bool waiting) { break; } if (!waiting) break; - base::PlatformThread::Sleep(100 * i); + base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100 * i)); } if (!got_lock) { lock.reset(); |