Changeset 154113 in webkit for trunk/Source/JavaScriptCore/API/JSCallbackObjectFunctions.h
- Timestamp:
- Aug 15, 2013, 11:49:05 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/JSCallbackObjectFunctions.h
r154038 r154113 152 152 if (exception) { 153 153 throwError(exec, toJS(exec, exception)); 154 slot.setValue( jsUndefined());154 slot.setValue(thisObject, jsUndefined()); 155 155 return true; 156 156 } 157 157 if (value) { 158 slot.setValue(t oJS(exec, value));158 slot.setValue(thisObject, toJS(exec, value)); 159 159 return true; 160 160 } … … 165 165 JSValue value = thisObject->getStaticValue(exec, propertyName); 166 166 if (value) { 167 slot.setValue( value);167 slot.setValue(thisObject, value); 168 168 return true; 169 169 }
Note:
See TracChangeset
for help on using the changeset viewer.