| Index: base/shared_memory_posix.cc
|
| diff --git a/base/shared_memory_posix.cc b/base/shared_memory_posix.cc
|
| index a66c859e703c4cf2fcb27dc1de1eb1724643a368..32a55e91284f21d5abc299e376dd81192f668d4e 100644
|
| --- a/base/shared_memory_posix.cc
|
| +++ b/base/shared_memory_posix.cc
|
| @@ -340,7 +340,7 @@ void SharedMemory::LockOrUnlockCommon(int function) {
|
| continue;
|
| } else if (errno == ENOLCK) {
|
| // temporary kernel resource exaustion
|
| - base::PlatformThread::Sleep(500);
|
| + base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(500));
|
| continue;
|
| } else {
|
| NOTREACHED() << "lockf() failed."
|
|
|