Changeset 102065 in webkit for trunk/Source/JavaScriptCore/API/JSClassRef.h
- Timestamp:
- Dec 5, 2011, 4:17:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/JSClassRef.h
r83385 r102065 60 60 }; 61 61 62 typedef HashMap<RefPtr<StringImpl>, StaticValueEntry*> OpaqueJSClassStaticValuesTable;63 typedef HashMap<RefPtr<StringImpl>, StaticFunctionEntry*> OpaqueJSClassStaticFunctionsTable;62 typedef HashMap<RefPtr<StringImpl>, OwnPtr<StaticValueEntry> > OpaqueJSClassStaticValuesTable; 63 typedef HashMap<RefPtr<StringImpl>, OwnPtr<StaticFunctionEntry> > OpaqueJSClassStaticFunctionsTable; 64 64 65 65 struct OpaqueJSClass; … … 71 71 public: 72 72 OpaqueJSClassContextData(JSC::JSGlobalData&, OpaqueJSClass*); 73 ~OpaqueJSClassContextData();74 73 75 74 // It is necessary to keep OpaqueJSClass alive because of the following rare scenario: … … 81 80 RefPtr<OpaqueJSClass> m_class; 82 81 83 O paqueJSClassStaticValuesTable*staticValues;84 O paqueJSClassStaticFunctionsTable*staticFunctions;82 OwnPtr<OpaqueJSClassStaticValuesTable> staticValues; 83 OwnPtr<OpaqueJSClassStaticFunctionsTable> staticFunctions; 85 84 JSC::Weak<JSC::JSObject> cachedPrototype; 86 85 }; … … 122 121 // UStrings in these data members should not be put into any IdentifierTable. 123 122 JSC::UString m_className; 124 O paqueJSClassStaticValuesTable*m_staticValues;125 O paqueJSClassStaticFunctionsTable*m_staticFunctions;123 OwnPtr<OpaqueJSClassStaticValuesTable> m_staticValues; 124 OwnPtr<OpaqueJSClassStaticFunctionsTable> m_staticFunctions; 126 125 }; 127 126
Note:
See TracChangeset
for help on using the changeset viewer.