Skip to content
  • darin@apple.com's avatar
    JavaScriptCore: · d5ceaf86
    darin@apple.com authored
    2008-06-14  Darin Adler  <darin@apple.com>
    
            Reviewed by Sam.
    
            - more of https://bugs.webkit.org/show_bug.cgi?id=17257
              start ref counts at 1 instead of 0 for speed
    
            * kjs/nodes.cpp:
            (KJS::ParserRefCounted::hasOneRef): Added. Replaces refcount.
            * kjs/nodes.h: Replaced refcount with hasOneRef.
    
            * wtf/ListRefPtr.h:
            (WTF::ListRefPtr::~ListRefPtr): Changed to use hasOneRef instead of
            refcount, so this class can be used with the RefCounted template.
    
            * wtf/RefCounted.h:
            (WTF::RefCounted::hasOneRef): Made const, since there's no reason for
            it to be non-const.
    
    WebCore:
    
    2008-06-14  Darin Adler  <darin@apple.com>
    
            Reviewed by Sam.
    
            - more work on https://bugs.webkit.org/show_bug.cgi?id=17257
              start ref counts at 1 instead of 0 for speed
    
            * WebCore.base.exp: Added some new exports needed for functions that are now
            non-virtual.
    
            * WebCore.xcodeproj/project...
    d5ceaf86