Skip to content
  • ap@webkit.org's avatar
    Reviewed by Cameron Zwarich. · 66868c0d
    ap@webkit.org authored
            Make ParserRefCountedCounter actually perform a leak check.
    
            * kjs/nodes.cpp:
            (KJS::ParserRefCountedCounter::~ParserRefCountedCounter): Check for leaks in destructor,
            not in constructor.
            (KJS::ParserRefCountedCounter::increment):
            (KJS::ParserRefCountedCounter::decrement):
            (KJS::ParserRefCounted::ParserRefCounted):
            (KJS::ParserRefCounted::~ParserRefCounted):
            While at it, also made counting thread-safe.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    66868c0d