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