Changeset 52346 in webkit for trunk/JavaScriptCore/API/JSClassRef.cpp
- Timestamp:
- Dec 18, 2009, 2:59:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSClassRef.cpp
r52334 r52346 53 53 , hasInstance(definition->hasInstance) 54 54 , convertToType(definition->convertToType) 55 , m_className(UString:: Rep::createFromUTF8(definition->className))55 , m_className(UString::createFromUTF8(definition->className).rep()->ref()) 56 56 , m_staticValues(0) 57 57 , m_staticFunctions(0) … … 62 62 m_staticValues = new OpaqueJSClassStaticValuesTable(); 63 63 while (staticValue->name) { 64 m_staticValues->add(UString:: Rep::createFromUTF8(staticValue->name),64 m_staticValues->add(UString::createFromUTF8(staticValue->name).rep()->ref(), 65 65 new StaticValueEntry(staticValue->getProperty, staticValue->setProperty, staticValue->attributes)); 66 66 ++staticValue; … … 71 71 m_staticFunctions = new OpaqueJSClassStaticFunctionsTable(); 72 72 while (staticFunction->name) { 73 m_staticFunctions->add(UString:: Rep::createFromUTF8(staticFunction->name),73 m_staticFunctions->add(UString::createFromUTF8(staticFunction->name).rep()->ref(), 74 74 new StaticFunctionEntry(staticFunction->callAsFunction, staticFunction->attributes)); 75 75 ++staticFunction;
Note:
See TracChangeset
for help on using the changeset viewer.