Changeset 34659 in webkit for trunk/JavaScriptCore/API/JSCallbackObjectFunctions.h
- Timestamp:
- Jun 19, 2008, 10:29:29 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSCallbackObjectFunctions.h
r34607 r34659 471 471 if (StaticFunctionEntry* entry = staticFunctions->get(propertyName.ustring().rep())) { 472 472 if (JSObjectCallAsFunctionCallback callAsFunction = entry->callAsFunction) { 473 JSObject* o = new JSCallbackFunction(exec, callAsFunction, propertyName);473 JSObject* o = new (exec) JSCallbackFunction(exec, callAsFunction, propertyName); 474 474 thisObj->putDirect(propertyName, o, entry->attributes); 475 475 return o;
Note:
See TracChangeset
for help on using the changeset viewer.