Changeset 35291 in webkit for trunk/JavaScriptCore/API/JSCallbackObjectFunctions.h
- Timestamp:
- Jul 22, 2008, 10:10:05 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSCallbackObjectFunctions.h
r35242 r35291 262 262 Vector<JSValueRef, 16> arguments(argumentCount); 263 263 for (int i = 0; i < argumentCount; i++) 264 arguments[i] = toRef(args [i]);264 arguments[i] = toRef(args.at(exec, i)); 265 265 JSLock::DropAllLocks dropAllLocks(exec); 266 266 return toJS(callAsConstructor(execRef, constructorRef, argumentCount, arguments.data(), toRef(exec->exceptionSlot()))); … … 322 322 Vector<JSValueRef, 16> arguments(argumentCount); 323 323 for (int i = 0; i < argumentCount; i++) 324 arguments[i] = toRef(args [i]);324 arguments[i] = toRef(args.at(exec, i)); 325 325 JSLock::DropAllLocks dropAllLocks(exec); 326 326 return toJS(callAsFunction(execRef, functionRef, thisObjRef, argumentCount, arguments.data(), toRef(exec->exceptionSlot())));
Note:
See TracChangeset
for help on using the changeset viewer.