Ignore:
Timestamp:
Feb 19, 2008, 2:09:48 PM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Darin.

Change OpaqueJSClass and RootObject to start with a ref count of 1.


  • API/JSClassRef.cpp: (OpaqueJSClass::OpaqueJSClass): (OpaqueJSClass::createNoAutomaticPrototype): (OpaqueJSClass::create):
  • API/JSClassRef.h:
  • API/JSObjectRef.cpp: (JSClassCreate):
  • bindings/runtime_root.cpp: (KJS::Bindings::RootObject::create): (KJS::Bindings::RootObject::RootObject):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSClassRef.h

    r29663 r30413  
    5858
    5959struct OpaqueJSClass : public RefCounted<OpaqueJSClass> {
    60     static OpaqueJSClass* create(const JSClassDefinition*);
    61     static OpaqueJSClass* createNoAutomaticPrototype(const JSClassDefinition*);
     60    static PassRefPtr<OpaqueJSClass> create(const JSClassDefinition*);
     61    static PassRefPtr<OpaqueJSClass> createNoAutomaticPrototype(const JSClassDefinition*);
    6262    ~OpaqueJSClass();
    6363   
Note: See TracChangeset for help on using the changeset viewer.