| Index: third_party/WebKit/Source/wtf/ThreadingWin.cpp
|
| diff --git a/third_party/WebKit/Source/wtf/ThreadingWin.cpp b/third_party/WebKit/Source/wtf/ThreadingWin.cpp
|
| index 8808450dd2adb84650d13a0e96fb2232284784f0..503fb616f4c5f052b19868ac8c913c64f7fbd6bb 100644
|
| --- a/third_party/WebKit/Source/wtf/ThreadingWin.cpp
|
| +++ b/third_party/WebKit/Source/wtf/ThreadingWin.cpp
|
| @@ -148,12 +148,13 @@ void initializeThreading() {
|
| // This should only be called once.
|
| DCHECK(!atomicallyInitializedStaticMutex);
|
|
|
| + WTFThreadData::initializeOnMainThread();
|
| +
|
| // 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.
|
|
|