Changeset 37428 in webkit for trunk/JavaScriptCore/API/JSObjectRef.cpp
- Timestamp:
- Oct 8, 2008, 10:50:42 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSObjectRef.cpp
r37427 r37428 93 93 JSLock lock(exec); 94 94 95 Identifier nameID = name ? name->identifier( &exec->globalData()) : Identifier(exec, "anonymous");95 Identifier nameID = name ? name->identifier(exec) : Identifier(exec, "anonymous"); 96 96 97 97 return toRef(new (exec) JSCallbackFunction(exec, callAsFunction, nameID)); … … 119 119 JSLock lock(exec); 120 120 121 Identifier nameID = name ? name->identifier( &exec->globalData()) : Identifier(exec, "anonymous");121 Identifier nameID = name ? name->identifier(exec) : Identifier(exec, "anonymous"); 122 122 123 123 ArgList args; … … 247 247 JSObject* jsObject = toJS(object); 248 248 249 return jsObject->hasProperty(exec, propertyName->identifier( &exec->globalData()));249 return jsObject->hasProperty(exec, propertyName->identifier(exec)); 250 250 } 251 251 … … 258 258 JSObject* jsObject = toJS(object); 259 259 260 JSValue* jsValue = jsObject->get(exec, propertyName->identifier( &exec->globalData()));260 JSValue* jsValue = jsObject->get(exec, propertyName->identifier(exec)); 261 261 if (exec->hadException()) { 262 262 if (exception) … … 274 274 275 275 JSObject* jsObject = toJS(object); 276 Identifier name(propertyName->identifier( &exec->globalData()));276 Identifier name(propertyName->identifier(exec)); 277 277 JSValue* jsValue = toJS(value); 278 278 … … 334 334 JSObject* jsObject = toJS(object); 335 335 336 bool result = jsObject->deleteProperty(exec, propertyName->identifier(&exec->globalData()));336 bool result = jsObject->deleteProperty(exec, propertyName->identifier(exec)); 337 337 if (exec->hadException()) { 338 338 if (exception)
Note:
See TracChangeset
for help on using the changeset viewer.