Changeset 58220 in webkit for trunk/JavaScriptCore
- Timestamp:
- Apr 24, 2010, 10:53:24 AM (15 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r58206 r58220 1 2010-04-24 Anton Muhin <[email protected]> 2 3 Reviewed by Darin Adler. 4 5 Allow to construct HashTraits<WebCore::QualifiedName>::constructDeletedValue 6 7 Former implementation attempted to use AtomicString(HashTableDeletedValue) 8 however those values cannot be used that way: one cannot construct 9 QualifiedNameImpl out of such AtomicString as we'll try to lookup this string 10 in the table, for example. 11 https://bugs.webkit.org/show_bug.cgi?id=37722 12 13 * wtf/RefPtr.h: expose hash table deleted value 14 1 15 2010-04-23 Sam Weinig <[email protected]> 2 16 -
trunk/JavaScriptCore/wtf/RefPtr.h
r54724 r58220 80 80 void swap(RefPtr&); 81 81 82 static T* hashTableDeletedValue() { return reinterpret_cast<T*>(-1); } 83 82 84 private: 83 static T* hashTableDeletedValue() { return reinterpret_cast<T*>(-1); }84 85 85 T* m_ptr; 86 86 };
Note:
See TracChangeset
for help on using the changeset viewer.