Changeset 34607 in webkit for trunk/JavaScriptCore/kjs/string_object.cpp
- Timestamp:
- Jun 16, 2008, 4:28:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/string_object.cpp
r34587 r34607 70 70 if (internalValue()->getStringPropertySlot(propertyName, slot)) 71 71 return true; 72 return JSObject::getOwnPropertySlot(exec, Identifier::from( propertyName), slot);72 return JSObject::getOwnPropertySlot(exec, Identifier::from(exec, propertyName), slot); 73 73 } 74 74 … … 91 91 int size = internalValue()->getString().size(); 92 92 for (int i = 0; i < size; i++) 93 propertyNames.add(Identifier( UString::from(i)));93 propertyNames.add(Identifier(exec, UString::from(i))); 94 94 return JSObject::getPropertyNames(exec, propertyNames); 95 95 } … … 931 931 932 932 StringConstructor::StringConstructor(ExecState* exec, FunctionPrototype* funcProto, StringPrototype* stringProto) 933 : InternalFunction(funcProto, stringProto->classInfo()->className)933 : InternalFunction(funcProto, Identifier(exec, stringProto->classInfo()->className)) 934 934 { 935 935 // ECMA 15.5.3.1 String.prototype
Note:
See TracChangeset
for help on using the changeset viewer.