Changeset 83955 in webkit for trunk/Source/JavaScriptCore/runtime/StringObject.h
- Timestamp:
- Apr 15, 2011, 12:43:09 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/StringObject.h
r83808 r83955 29 29 class StringObject : public JSWrapperObject { 30 30 public: 31 StringObject(ExecState*, Structure*);32 StringObject(ExecState*, Structure*, const UString&);31 StringObject(ExecState*, NonNullPassRefPtr<Structure>); 32 StringObject(ExecState*, NonNullPassRefPtr<Structure>, const UString&); 33 33 34 34 static StringObject* create(ExecState*, JSGlobalObject*, JSString*); … … 46 46 JSString* internalValue() const { return asString(JSWrapperObject::internalValue());} 47 47 48 static Structure*createStructure(JSGlobalData& globalData, JSValue prototype)48 static PassRefPtr<Structure> createStructure(JSGlobalData& globalData, JSValue prototype) 49 49 { 50 50 return Structure::create(globalData, prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info); … … 53 53 protected: 54 54 static const unsigned StructureFlags = OverridesGetOwnPropertySlot | OverridesGetPropertyNames | JSWrapperObject::StructureFlags; 55 StringObject(JSGlobalData&, Structure*, JSString*);55 StringObject(JSGlobalData&, NonNullPassRefPtr<Structure>, JSString*); 56 56 }; 57 57
Note:
See TracChangeset
for help on using the changeset viewer.