Changeset 65104 in webkit for trunk/JavaScriptCore/API/JSCallbackObjectFunctions.h
- Timestamp:
- Aug 10, 2010, 5:16:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSCallbackObjectFunctions.h
r62677 r65104 147 147 148 148 if (OpaqueJSClassStaticValuesTable* staticValues = jsClass->staticValues(exec)) { 149 if (staticValues->contains(propertyName. ustring().rep())) {149 if (staticValues->contains(propertyName.impl())) { 150 150 slot.setCustom(this, staticValueGetter); 151 151 return true; … … 154 154 155 155 if (OpaqueJSClassStaticFunctionsTable* staticFunctions = jsClass->staticFunctions(exec)) { 156 if (staticFunctions->contains(propertyName. ustring().rep())) {156 if (staticFunctions->contains(propertyName.impl())) { 157 157 slot.setCustom(this, staticFunctionGetter); 158 158 return true; … … 214 214 215 215 if (OpaqueJSClassStaticValuesTable* staticValues = jsClass->staticValues(exec)) { 216 if (StaticValueEntry* entry = staticValues->get(propertyName. ustring().rep())) {216 if (StaticValueEntry* entry = staticValues->get(propertyName.impl())) { 217 217 if (entry->attributes & kJSPropertyAttributeReadOnly) 218 218 return; … … 236 236 237 237 if (OpaqueJSClassStaticFunctionsTable* staticFunctions = jsClass->staticFunctions(exec)) { 238 if (StaticFunctionEntry* entry = staticFunctions->get(propertyName. ustring().rep())) {238 if (StaticFunctionEntry* entry = staticFunctions->get(propertyName.impl())) { 239 239 if (entry->attributes & kJSPropertyAttributeReadOnly) 240 240 return; … … 272 272 273 273 if (OpaqueJSClassStaticValuesTable* staticValues = jsClass->staticValues(exec)) { 274 if (StaticValueEntry* entry = staticValues->get(propertyName. ustring().rep())) {274 if (StaticValueEntry* entry = staticValues->get(propertyName.impl())) { 275 275 if (entry->attributes & kJSPropertyAttributeDontDelete) 276 276 return false; … … 280 280 281 281 if (OpaqueJSClassStaticFunctionsTable* staticFunctions = jsClass->staticFunctions(exec)) { 282 if (StaticFunctionEntry* entry = staticFunctions->get(propertyName. ustring().rep())) {282 if (StaticFunctionEntry* entry = staticFunctions->get(propertyName.impl())) { 283 283 if (entry->attributes & kJSPropertyAttributeDontDelete) 284 284 return false; … … 418 418 iterator end = staticValues->end(); 419 419 for (iterator it = staticValues->begin(); it != end; ++it) { 420 UString::Rep* name = it->first.get();420 StringImpl* name = it->first.get(); 421 421 StaticValueEntry* entry = it->second; 422 422 if (entry->getProperty && (!(entry->attributes & kJSPropertyAttributeDontEnum) || (mode == IncludeDontEnumProperties))) … … 429 429 iterator end = staticFunctions->end(); 430 430 for (iterator it = staticFunctions->begin(); it != end; ++it) { 431 UString::Rep* name = it->first.get();431 StringImpl* name = it->first.get(); 432 432 StaticFunctionEntry* entry = it->second; 433 433 if (!(entry->attributes & kJSPropertyAttributeDontEnum) || (mode == IncludeDontEnumProperties)) … … 529 529 for (JSClassRef jsClass = thisObj->classRef(); jsClass; jsClass = jsClass->parentClass) 530 530 if (OpaqueJSClassStaticValuesTable* staticValues = jsClass->staticValues(exec)) 531 if (StaticValueEntry* entry = staticValues->get(propertyName. ustring().rep()))531 if (StaticValueEntry* entry = staticValues->get(propertyName.impl())) 532 532 if (JSObjectGetPropertyCallback getProperty = entry->getProperty) { 533 533 if (!propertyNameRef) … … 562 562 for (JSClassRef jsClass = thisObj->classRef(); jsClass; jsClass = jsClass->parentClass) { 563 563 if (OpaqueJSClassStaticFunctionsTable* staticFunctions = jsClass->staticFunctions(exec)) { 564 if (StaticFunctionEntry* entry = staticFunctions->get(propertyName. ustring().rep())) {564 if (StaticFunctionEntry* entry = staticFunctions->get(propertyName.impl())) { 565 565 if (JSObjectCallAsFunctionCallback callAsFunction = entry->callAsFunction) { 566 566
Note:
See TracChangeset
for help on using the changeset viewer.