Changeset 53860 in webkit for trunk/JavaScriptCore/API
- Timestamp:
- Jan 26, 2010, 11:22:51 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/APIShims.h
r52856 r53860 35 35 protected: 36 36 APIEntryShimWithoutLock(JSGlobalData* globalData, bool registerThread) 37 : m_entryIdentifierTable(setCurrentIdentifierTable(globalData->identifierTable)) 37 : m_globalData(globalData) 38 , m_entryIdentifierTable(setCurrentIdentifierTable(globalData->identifierTable)) 38 39 { 39 40 if (registerThread) 40 41 globalData->heap.registerThread(); 42 m_globalData->timeoutChecker.start(); 41 43 } 42 44 43 45 ~APIEntryShimWithoutLock() 44 46 { 47 m_globalData->timeoutChecker.stop(); 45 48 setCurrentIdentifierTable(m_entryIdentifierTable); 46 49 } 47 50 48 51 private: 52 JSGlobalData* m_globalData; 49 53 IdentifierTable* m_entryIdentifierTable; 50 54 }; … … 77 81 { 78 82 resetCurrentIdentifierTable(); 83 m_globalData->timeoutChecker.start(); 79 84 } 80 85 81 86 ~APICallbackShim() 82 87 { 88 m_globalData->timeoutChecker.stop(); 83 89 setCurrentIdentifierTable(m_globalData->identifierTable); 84 90 }
Note:
See TracChangeset
for help on using the changeset viewer.