Changeset 30534 in webkit for trunk/JavaScriptCore/API/JSCallbackObjectFunctions.h
- Timestamp:
- Feb 23, 2008, 9:01:27 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSCallbackObjectFunctions.h
r29663 r30534 151 151 152 152 template <class Base> 153 void JSCallbackObject<Base>::put(ExecState* exec, const Identifier& propertyName, JSValue* value , int attr)153 void JSCallbackObject<Base>::put(ExecState* exec, const Identifier& propertyName, JSValue* value) 154 154 { 155 155 JSContextRef ctx = toRef(exec); … … 182 182 if (entry->attributes & kJSPropertyAttributeReadOnly) 183 183 return; 184 JSCallbackObject<Base>::putDirect(propertyName, value , attr); // put as override property184 JSCallbackObject<Base>::putDirect(propertyName, value); // put as override property 185 185 return; 186 186 } … … 188 188 } 189 189 190 return Base::put(exec, propertyName, value , attr);191 } 192 193 template <class Base> 194 void JSCallbackObject<Base>::put(ExecState* exec, unsigned propertyName, JSValue* value , int attr)195 { 196 return put(exec, Identifier::from(propertyName), value , attr);190 return Base::put(exec, propertyName, value); 191 } 192 193 template <class Base> 194 void JSCallbackObject<Base>::put(ExecState* exec, unsigned propertyName, JSValue* value) 195 { 196 return put(exec, Identifier::from(propertyName), value); 197 197 } 198 198
Note:
See TracChangeset
for help on using the changeset viewer.