Changeset 91194 in webkit for trunk/Source/JavaScriptCore/API/JSCallbackObjectFunctions.h
- Timestamp:
- Jul 18, 2011, 10:47:13 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/JSCallbackObjectFunctions.h
r88587 r91194 561 561 if (JSObjectCallAsFunctionCallback callAsFunction = entry->callAsFunction) { 562 562 563 JSObject* o = new (exec) JSCallbackFunction(exec, asGlobalObject(thisObj->getAnonymousValue(0)), callAsFunction, propertyName);563 JSObject* o = JSCallbackFunction::create(exec, asGlobalObject(thisObj->getAnonymousValue(0)), callAsFunction, propertyName); 564 564 thisObj->putDirect(exec->globalData(), propertyName, o, entry->attributes); 565 565 return o;
Note:
See TracChangeset
for help on using the changeset viewer.