Changeset 58712 in webkit for trunk/JavaScriptCore/wtf/WTFThreadData.cpp
- Timestamp:
- May 3, 2010, 4:03:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/WTFThreadData.cpp
r58133 r58712 27 27 #include "config.h" 28 28 #include "WTFThreadData.h" 29 #include <wtf/text/AtomicStringTable.h>30 29 31 30 namespace WTF { … … 38 37 39 38 WTFThreadData::WTFThreadData() 40 : m_atomicStringTable(new WebCore::AtomicStringTable()) 39 : m_atomicStringTable(0) 40 , m_atomicStringTableDestructor(0) 41 41 #if USE(JSC) 42 42 , m_defaultIdentifierTable(new JSC::IdentifierTable()) … … 48 48 WTFThreadData::~WTFThreadData() 49 49 { 50 delete m_atomicStringTable; 50 if (m_atomicStringTableDestructor) 51 m_atomicStringTableDestructor(m_atomicStringTable); 51 52 #if USE(JSC) 52 53 delete m_defaultIdentifierTable;
Note:
See TracChangeset
for help on using the changeset viewer.