Changeset 77151 in webkit for trunk/Source/JavaScriptCore/API/JSCallbackObjectFunctions.h
- Timestamp:
- Jan 31, 2011, 12:07:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/JSCallbackObjectFunctions.h
r77113 r77151 239 239 if (entry->attributes & kJSPropertyAttributeReadOnly) 240 240 return; 241 JSCallbackObject<Base>::putDirect( propertyName, value); // put as override property241 JSCallbackObject<Base>::putDirect(exec->globalData(), propertyName, value); // put as override property 242 242 return; 243 243 } … … 566 566 567 567 JSObject* o = new (exec) JSCallbackFunction(exec, asGlobalObject(thisObj->getAnonymousValue(0)), callAsFunction, propertyName); 568 thisObj->putDirect( propertyName, o, entry->attributes);568 thisObj->putDirect(exec->globalData(), propertyName, o, entry->attributes); 569 569 return o; 570 570 }
Note:
See TracChangeset
for help on using the changeset viewer.