Changeset 34334 in webkit for trunk/JavaScriptCore/kjs/object.cpp
- Timestamp:
- Jun 2, 2008, 11:26:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/object.cpp
r34309 r34334 39 39 namespace KJS { 40 40 41 // ------------------------------ Object ---------------------------------------42 43 JSValue* JSObject::call(ExecState* exec, JSObject* thisObj, const List& args)44 {45 ASSERT(implementsCall());46 return callAsFunction(exec, thisObj, args);47 }48 49 41 // ------------------------------ JSObject ------------------------------------ 50 42 … … 159 151 args.append(value); 160 152 161 setterFunc->call (exec, this->toThisObject(exec), args);153 setterFunc->callAsFunction(exec, this->toThisObject(exec), args); 162 154 return; 163 155 } else { … … 247 239 if (callType != CallTypeNone) { 248 240 JSObject* thisObj = const_cast<JSObject*>(object); 249 JSValue* def = o->call (exec, thisObj->toThisObject(exec), exec->emptyList());241 JSValue* def = o->callAsFunction(exec, thisObj->toThisObject(exec), exec->emptyList()); 250 242 JSType defType = def->type(); 251 243 ASSERT(defType != GetterSetterType);
Note:
See TracChangeset
for help on using the changeset viewer.