Changeset 57879 in webkit for trunk/JavaScriptCore/API/APIShims.h
- Timestamp:
- Apr 20, 2010, 1:30:12 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/APIShims.h
r57853 r57879 29 29 #include "CallFrame.h" 30 30 #include "JSLock.h" 31 #include <wtf/WTFThreadData.h> 31 32 32 33 namespace JSC { … … 36 37 APIEntryShimWithoutLock(JSGlobalData* globalData, bool registerThread) 37 38 : m_globalData(globalData) 38 , m_entryIdentifierTable( setCurrentIdentifierTable(globalData->identifierTable))39 , m_entryIdentifierTable(wtfThreadData().setCurrentIdentifierTable(globalData->identifierTable)) 39 40 { 40 41 if (registerThread) … … 46 47 { 47 48 m_globalData->timeoutChecker.stop(); 48 setCurrentIdentifierTable(m_entryIdentifierTable);49 wtfThreadData().setCurrentIdentifierTable(m_entryIdentifierTable); 49 50 } 50 51 … … 80 81 , m_globalData(&exec->globalData()) 81 82 { 82 resetCurrentIdentifierTable();83 wtfThreadData().resetCurrentIdentifierTable(); 83 84 } 84 85 85 86 ~APICallbackShim() 86 87 { 87 setCurrentIdentifierTable(m_globalData->identifierTable);88 wtfThreadData().setCurrentIdentifierTable(m_globalData->identifierTable); 88 89 } 89 90
Note:
See TracChangeset
for help on using the changeset viewer.