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 bef2b58fe4cb4981b3ff02d022028a81926bd4bc..d1cc48152999529fca84cfa575179ea78025579a 100644 |
--- a/third_party/WebKit/Source/wtf/WTFThreadData.cpp |
+++ b/third_party/WebKit/Source/wtf/WTFThreadData.cpp |
@@ -34,8 +34,10 @@ namespace WTF { |
ThreadSpecific<WTFThreadData>* WTFThreadData::staticData; |
WTFThreadData::WTFThreadData() |
- : m_atomicStringTable(0) |
- , m_atomicStringTableDestructor(0) |
+ : m_atomicStringTable(nullptr) |
+ , m_atomicStringTableDestructor(nullptr) |
+ , m_compressibleStringTable(nullptr) |
+ , m_compressibleStringTableDestructor(nullptr) |
, m_cachedConverterICU(adoptPtr(new ICUConverterWrapper)) |
{ |
} |
@@ -44,6 +46,8 @@ WTFThreadData::~WTFThreadData() |
{ |
if (m_atomicStringTableDestructor) |
m_atomicStringTableDestructor(m_atomicStringTable); |
+ if (m_compressibleStringTableDestructor) |
+ m_compressibleStringTableDestructor(m_compressibleStringTable); |
} |
} // namespace WTF |