| Index: Source/wtf/ThreadingWin.cpp
|
| diff --git a/Source/wtf/ThreadingWin.cpp b/Source/wtf/ThreadingWin.cpp
|
| index 99ebfb3e1a3ba744c7dbb868a6e7374cb3ae517c..85173f47133ee5289d89377a2ab492ae8e71f0d6 100644
|
| --- a/Source/wtf/ThreadingWin.cpp
|
| +++ b/Source/wtf/ThreadingWin.cpp
|
| @@ -167,8 +167,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,
|
|
|