Changeset 48542 in webkit for trunk/JavaScriptCore/runtime/JSGlobalObject.cpp
- Timestamp:
- Sep 18, 2009, 4:12:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSGlobalObject.cpp
r47404 r48542 176 176 } 177 177 178 void JSGlobalObject::defineGetter(ExecState* exec, const Identifier& propertyName, JSObject* getterFunc )178 void JSGlobalObject::defineGetter(ExecState* exec, const Identifier& propertyName, JSObject* getterFunc, unsigned attributes) 179 179 { 180 180 PropertySlot slot; 181 181 if (!symbolTableGet(propertyName, slot)) 182 JSVariableObject::defineGetter(exec, propertyName, getterFunc );183 } 184 185 void JSGlobalObject::defineSetter(ExecState* exec, const Identifier& propertyName, JSObject* setterFunc )182 JSVariableObject::defineGetter(exec, propertyName, getterFunc, attributes); 183 } 184 185 void JSGlobalObject::defineSetter(ExecState* exec, const Identifier& propertyName, JSObject* setterFunc, unsigned attributes) 186 186 { 187 187 PropertySlot slot; 188 188 if (!symbolTableGet(propertyName, slot)) 189 JSVariableObject::defineSetter(exec, propertyName, setterFunc );189 JSVariableObject::defineSetter(exec, propertyName, setterFunc, attributes); 190 190 } 191 191
Note:
See TracChangeset
for help on using the changeset viewer.