| Index: third_party/WebKit/Source/wtf/WTFThreadData.cpp
|
| diff --git a/third_party/WebKit/Source/wtf/WTFThreadData.cpp b/third_party/WebKit/Source/wtf/WTFThreadData.cpp
|
| index 4fe603433c06e630906179ef856dcaaad0738341..c60fdcdb393f90fa2645d8cbcdb48402e146123e 100644
|
| --- a/third_party/WebKit/Source/wtf/WTFThreadData.cpp
|
| +++ b/third_party/WebKit/Source/wtf/WTFThreadData.cpp
|
| @@ -26,7 +26,6 @@
|
|
|
| #include "wtf/WTFThreadData.h"
|
|
|
| -#include "wtf/PtrUtil.h"
|
| #include "wtf/text/TextCodecICU.h"
|
|
|
| namespace WTF {
|
| @@ -34,18 +33,15 @@ namespace WTF {
|
| ThreadSpecific<WTFThreadData>* WTFThreadData::staticData;
|
|
|
| WTFThreadData::WTFThreadData()
|
| - : m_atomicStringTable(nullptr)
|
| - , m_atomicStringTableDestructor(nullptr)
|
| + : m_atomicStringTable(new AtomicStringTable)
|
| , m_compressibleStringTable(nullptr)
|
| , m_compressibleStringTableDestructor(nullptr)
|
| - , m_cachedConverterICU(wrapUnique(new ICUConverterWrapper))
|
| + , m_cachedConverterICU(new ICUConverterWrapper)
|
| {
|
| }
|
|
|
| WTFThreadData::~WTFThreadData()
|
| {
|
| - if (m_atomicStringTableDestructor)
|
| - m_atomicStringTableDestructor(m_atomicStringTable);
|
| if (m_compressibleStringTableDestructor)
|
| m_compressibleStringTableDestructor(m_compressibleStringTable);
|
| }
|
|
|