Changeset 27022 in webkit for trunk/JavaScriptCore/API/JSClassRef.cpp
- Timestamp:
- Oct 24, 2007, 11:38:35 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSClassRef.cpp
r24809 r27022 157 157 if (!parentPrototype) 158 158 parentPrototype = exec->dynamicInterpreter()->builtinObjectPrototype(); 159 cachedPrototype = new JSCallbackObject (exec, prototypeClass, parentPrototype, this); // set ourself as the object's private data, so it can clear our reference on destruction159 cachedPrototype = new JSCallbackObject<JSObject>(exec, prototypeClass, parentPrototype, this); // set ourself as the object's private data, so it can clear our reference on destruction 160 160 } 161 161 return cachedPrototype;
Note:
See TracChangeset
for help on using the changeset viewer.