Changeset 15483 in webkit for trunk/JavaScriptCore/API/JSNode.c
- Timestamp:
- Jul 17, 2006, 2:06:57 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSNode.c
r15482 r15483 182 182 static JSObjectRef prototype; 183 183 if (!prototype) { 184 prototype = JSObjectMake(context, JSNodePrototype_class(context), NULL );184 prototype = JSObjectMake(context, JSNodePrototype_class(context), NULL, NULL); 185 185 JSValueProtect(context, prototype); 186 186 } … … 192 192 Node_ref(node); 193 193 194 JSObjectRef jsNode = JSObjectMake(context, JSNode_class(context), JSNode_prototype(context) );194 JSObjectRef jsNode = JSObjectMake(context, JSNode_class(context), JSNode_prototype(context), NULL); 195 195 JSObjectSetPrivate(jsNode, node); 196 196 return jsNode;
Note:
See TracChangeset
for help on using the changeset viewer.