diff options
Diffstat (limited to 'base/threading/platform_thread_unittest.cc')
-rw-r--r-- | base/threading/platform_thread_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/threading/platform_thread_unittest.cc b/base/threading/platform_thread_unittest.cc index 4b49450..6bff1d4 100644 --- a/base/threading/platform_thread_unittest.cc +++ b/base/threading/platform_thread_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -59,7 +59,7 @@ class FunctionTestThread : public TrivialThread { virtual void ThreadMain() { thread_id_ = PlatformThread::CurrentId(); PlatformThread::YieldCurrentThread(); - PlatformThread::Sleep(50); + PlatformThread::Sleep(TimeDelta::FromMilliseconds(50)); TrivialThread::ThreadMain(); } |