Changeset 30413 in webkit for trunk/JavaScriptCore/API/JSObjectRef.cpp
- Timestamp:
- Feb 19, 2008, 2:09:48 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSObjectRef.cpp
r30040 r30413 50 50 { 51 51 JSLock lock; 52 JSClassRefjsClass = (definition->attributes & kJSClassAttributeNoAutomaticPrototype)52 RefPtr<OpaqueJSClass> jsClass = (definition->attributes & kJSClassAttributeNoAutomaticPrototype) 53 53 ? OpaqueJSClass::createNoAutomaticPrototype(definition) 54 54 : OpaqueJSClass::create(definition); 55 55 56 return JSClassRetain(jsClass);56 return jsClass.release().releaseRef(); 57 57 } 58 58
Note:
See TracChangeset
for help on using the changeset viewer.