Changeset 96465 in webkit for trunk/Source/JavaScriptCore/heap/Weak.h
- Timestamp:
- Oct 1, 2011, 5:54:56 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/heap/Weak.h
r95912 r96465 48 48 49 49 Weak(JSGlobalData& globalData, ExternalType value = ExternalType(), WeakHandleOwner* weakOwner = 0, void* context = 0) 50 : Handle<T>(globalData. allocateGlobalHandle())50 : Handle<T>(globalData.heap.handleHeap()->allocate()) 51 51 { 52 52 HandleHeap::heapFor(slot())->makeWeak(slot(), weakOwner, context); … … 107 107 { 108 108 if (!slot()) { 109 setSlot(globalData. allocateGlobalHandle());109 setSlot(globalData.heap.handleHeap()->allocate()); 110 110 HandleHeap::heapFor(slot())->makeWeak(slot(), weakOwner, context); 111 111 }
Note:
See TracChangeset
for help on using the changeset viewer.