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 8ff4e27e57a0a0434303361e807fed617368bb76..286c1182f20d345f9d6f4d638acaaff71c97e459 100644 |
--- a/third_party/WebKit/Source/wtf/WTFThreadData.cpp |
+++ b/third_party/WebKit/Source/wtf/WTFThreadData.cpp |
@@ -33,8 +33,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)) |
{ |
} |
@@ -43,6 +45,8 @@ WTFThreadData::~WTFThreadData() |
{ |
if (m_atomicStringTableDestructor) |
m_atomicStringTableDestructor(m_atomicStringTable); |
+ if (m_compressibleStringTableDestructor) |
+ m_compressibleStringTableDestructor(m_compressibleStringTable); |
} |
} // namespace WTF |