| 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 2a7cdd110036cbfa22eba096616aef73a4b7b8b4..3f2412904a05c98a49971a363e224e9fa12292e1 100644
|
| --- a/third_party/WebKit/Source/wtf/ThreadingPthreads.cpp
|
| +++ b/third_party/WebKit/Source/wtf/ThreadingPthreads.cpp
|
| @@ -59,34 +59,17 @@
|
|
|
| namespace WTF {
|
|
|
| -static Mutex* atomicallyInitializedStaticMutex;
|
| -
|
| void initializeThreading()
|
| {
|
| - // This should only be called once.
|
| - ASSERT(!atomicallyInitializedStaticMutex);
|
| -
|
| - // 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.
|
| - double_conversion::DoubleToStringConverter::EcmaScriptConverter();
|
| + //wtfThreadData();
|
| }
|
|
|
| void lockAtomicallyInitializedStaticMutex()
|
| {
|
| - ASSERT(atomicallyInitializedStaticMutex);
|
| - atomicallyInitializedStaticMutex->lock();
|
| }
|
|
|
| void unlockAtomicallyInitializedStaticMutex()
|
| {
|
| - atomicallyInitializedStaticMutex->unlock();
|
| }
|
|
|
| ThreadIdentifier currentThread()
|
|
|