Changeset 76248 in webkit for trunk/Source/JavaScriptCore/API/JSClassRef.h
- Timestamp:
- Jan 20, 2011, 8:30:54 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/JSClassRef.h
r65104 r76248 35 35 #include <wtf/HashMap.h> 36 36 37 struct StaticValueEntry : FastAllocBase { 37 struct StaticValueEntry { 38 WTF_MAKE_FAST_ALLOCATED; 39 public: 38 40 StaticValueEntry(JSObjectGetPropertyCallback _getProperty, JSObjectSetPropertyCallback _setProperty, JSPropertyAttributes _attributes) 39 41 : getProperty(_getProperty), setProperty(_setProperty), attributes(_attributes) … … 46 48 }; 47 49 48 struct StaticFunctionEntry : FastAllocBase { 50 struct StaticFunctionEntry { 51 WTF_MAKE_FAST_ALLOCATED; 52 public: 49 53 StaticFunctionEntry(JSObjectCallAsFunctionCallback _callAsFunction, JSPropertyAttributes _attributes) 50 54 : callAsFunction(_callAsFunction), attributes(_attributes) … … 63 67 // An OpaqueJSClass (JSClass) is created without a context, so it can be used with any context, even across context groups. 64 68 // This structure holds data members that vary across context groups. 65 struct OpaqueJSClassContextData : Noncopyable { 69 struct OpaqueJSClassContextData { 70 WTF_MAKE_NONCOPYABLE(OpaqueJSClassContextData); WTF_MAKE_FAST_ALLOCATED; 71 public: 66 72 OpaqueJSClassContextData(OpaqueJSClass*); 67 73 ~OpaqueJSClassContextData();
Note:
See TracChangeset
for help on using the changeset viewer.