| Index: third_party/WebKit/Source/wtf/ThreadingPthreads.cpp
|
| diff --git a/third_party/WebKit/Source/wtf/ThreadingPthreads.cpp b/third_party/WebKit/Source/wtf/ThreadingPthreads.cpp
|
| index 886e661c2aa6746139444527a8e0eedf72156e33..5bfe10df0051a7e0d7109b783d308d6ffb84f0de 100644
|
| --- a/third_party/WebKit/Source/wtf/ThreadingPthreads.cpp
|
| +++ b/third_party/WebKit/Source/wtf/ThreadingPthreads.cpp
|
| @@ -81,12 +81,13 @@ void initializeThreading() {
|
| // This should only be called once.
|
| DCHECK(!atomicallyInitializedStaticMutex);
|
|
|
| + WTFThreadData::initialize();
|
| +
|
| // StringImpl::empty() does not construct its static string in a threadsafe
|
| // fashion, so ensure it has been initialized from here.
|
| StringImpl::empty();
|
| StringImpl::empty16Bit();
|
| atomicallyInitializedStaticMutex = new Mutex;
|
| - wtfThreadData();
|
| initializeDates();
|
| // Force initialization of static DoubleToStringConverter converter variable
|
| // inside EcmaScriptConverter function while we are in single thread mode.
|
|
|