Changeset 84795 in webkit
- Timestamp:
- Apr 25, 2011 1:16:06 PM (13 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r84792 r84795 1 2011-04-25 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 PropertyMapHashTable should work with strict OwnPtr 6 https://bugs.webkit.org/show_bug.cgi?id=59337 7 8 This patch is in preparation for the strict OwnPtr hack-a-thon. 9 10 * runtime/PropertyMapHashTable.h: 11 (JSC::PropertyTable::PropertyTable): 12 (JSC::PropertyTable::addDeletedOffset): 13 1 14 2011-04-25 Geoffrey Garen <ggaren@apple.com> 2 15 -
trunk/Source/JavaScriptCore/runtime/PropertyMapHashTable.h
r84052 r84795 266 266 Vector<unsigned>* otherDeletedOffsets = other.m_deletedOffsets.get(); 267 267 if (otherDeletedOffsets) 268 m_deletedOffsets .set(new Vector<unsigned>(*otherDeletedOffsets));268 m_deletedOffsets = adoptPtr(new Vector<unsigned>(*otherDeletedOffsets)); 269 269 } 270 270 … … 290 290 Vector<unsigned>* otherDeletedOffsets = other.m_deletedOffsets.get(); 291 291 if (otherDeletedOffsets) 292 m_deletedOffsets .set(new Vector<unsigned>(*otherDeletedOffsets));292 m_deletedOffsets = adoptPtr(new Vector<unsigned>(*otherDeletedOffsets)); 293 293 } 294 294 … … 445 445 { 446 446 if (!m_deletedOffsets) 447 m_deletedOffsets .set(new Vector<unsigned>);447 m_deletedOffsets = adoptPtr(new Vector<unsigned>); 448 448 m_deletedOffsets->append(offset); 449 449 }
Note: See TracChangeset
for help on using the changeset viewer.