Changeset 30406 in webkit for trunk/JavaScriptCore
- Timestamp:
- Feb 19, 2008, 11:06:07 AM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r30387 r30406 1 2008-02-19 Darin Adler <[email protected]> 2 3 Reviewed by Anders. 4 5 - next step for http://bugs.webkit.org/show_bug.cgi?id=17257 6 start ref counts at 1 instead of 0 for speed 7 8 * wtf/RefCounted.h: 9 (WTF::RefCounted::RefCounted): Have refcounts default to 1. This allows us to start 10 removing the explicit initialization of RefCounted from classes and eventually we 11 can remove the ability to have the initial count of 0 entirely. 12 1 13 2008-02-18 Samuel Weinig <[email protected]> 2 14 -
trunk/JavaScriptCore/wtf/RefCounted.h
r30133 r30406 29 29 template<class T> class RefCounted : Noncopyable { 30 30 public: 31 RefCounted(int initialRefCount )31 RefCounted(int initialRefCount = 1) 32 32 : m_refCount(initialRefCount) 33 33 #ifndef NDEBUG
Note:
See TracChangeset
for help on using the changeset viewer.