Changeset 153532 in webkit for trunk/Source/JavaScriptCore/API/JSCallbackObjectFunctions.h
- Timestamp:
- Jul 31, 2013, 12:03:05 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/JSCallbackObjectFunctions.h
r153145 r153532 123 123 124 124 template <class Parent> 125 bool JSCallbackObject<Parent>::getOwnPropertySlot(JS Cell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)126 { 127 JSCallbackObject* thisObject = jsCast<JSCallbackObject*>( cell);125 bool JSCallbackObject<Parent>::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot) 126 { 127 JSCallbackObject* thisObject = jsCast<JSCallbackObject*>(object); 128 128 JSContextRef ctx = toRef(exec); 129 129 JSObjectRef thisRef = toRef(thisObject); … … 184 184 185 185 template <class Parent> 186 bool JSCallbackObject<Parent>::getOwnPropertySlotByIndex(JS Cell* cell, ExecState* exec, unsigned propertyName, PropertySlot& slot)187 { 188 return cell->methodTable()->getOwnPropertySlot(cell, exec, Identifier::from(exec, propertyName), slot);186 bool JSCallbackObject<Parent>::getOwnPropertySlotByIndex(JSObject* object, ExecState* exec, unsigned propertyName, PropertySlot& slot) 187 { 188 return object->methodTable()->getOwnPropertySlot(object, exec, Identifier::from(exec, propertyName), slot); 189 189 } 190 190
Note:
See TracChangeset
for help on using the changeset viewer.