| Index: Source/wtf/ThreadingPthreads.cpp
|
| diff --git a/Source/wtf/ThreadingPthreads.cpp b/Source/wtf/ThreadingPthreads.cpp
|
| index a3d140e7f4281eda69b63105ffee9cf1950a6c88..53811201e760dec8b9eb4d8b74b3e65afcd79e2d 100644
|
| --- a/Source/wtf/ThreadingPthreads.cpp
|
| +++ b/Source/wtf/ThreadingPthreads.cpp
|
| @@ -112,8 +112,8 @@ static Mutex& threadMapMutex()
|
|
|
| void initializeThreading()
|
| {
|
| - if (atomicallyInitializedStaticMutex)
|
| - return;
|
| + // This should only be called once.
|
| + ASSERT(!atomicallyInitializedStaticMutex);
|
|
|
| WTF::double_conversion::initialize();
|
| // StringImpl::empty() does not construct its static string in a threadsafe fashion,
|
|
|