Changeset 57120 in webkit for trunk/JavaScriptCore/runtime/JSGlobalObject.h
- Timestamp:
- Apr 5, 2010, 9:18:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSGlobalObject.h
r54022 r57120 26 26 #include "JSGlobalData.h" 27 27 #include "JSVariableObject.h" 28 #include "JSWeakObjectMapRefInternal.h" 28 29 #include "NativeFunctionWrapper.h" 29 30 #include "NumberPrototype.h" … … 57 58 protected: 58 59 using JSVariableObject::JSVariableObjectData; 60 typedef HashSet<RefPtr<OpaqueJSWeakObjectMap> > WeakMapSet; 59 61 60 62 struct JSGlobalObjectData : public JSVariableObjectData { … … 154 156 155 157 HashSet<GlobalCodeBlock*> codeBlocks; 158 WeakMapSet weakMaps; 156 159 }; 157 160 … … 271 274 } 272 275 276 void registerWeakMap(OpaqueJSWeakObjectMap* map) 277 { 278 d()->weakMaps.add(map); 279 } 280 281 void deregisterWeakMap(OpaqueJSWeakObjectMap* map) 282 { 283 d()->weakMaps.remove(map); 284 } 285 273 286 protected: 274 287
Note:
See TracChangeset
for help on using the changeset viewer.