Changeset 30040 in webkit for trunk/JavaScriptCore/API/JSObjectRef.cpp
- Timestamp:
- Feb 6, 2008, 9:33:07 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSObjectRef.cpp
r29663 r30040 103 103 : exec->dynamicGlobalObject()->objectPrototype(); 104 104 105 JS Object* constructor = new JSCallbackConstructor(exec, jsClass, callAsConstructor);106 constructor->put (exec, exec->propertyNames().prototype, jsPrototype, DontEnum|DontDelete|ReadOnly);105 JSCallbackConstructor* constructor = new JSCallbackConstructor(exec, jsClass, callAsConstructor); 106 constructor->putDirect(exec->propertyNames().prototype, jsPrototype, DontEnum | DontDelete | ReadOnly); 107 107 return toRef(constructor); 108 108 }
Note:
See TracChangeset
for help on using the changeset viewer.