| Index: Source/core/dom/ElementDataCache.h
|
| diff --git a/Source/core/dom/ElementDataCache.h b/Source/core/dom/ElementDataCache.h
|
| index d275f1edd37122bcfc754d0880578725a0821d9d..866beafae11834514418b2cf4c2ed2db3fe53954 100644
|
| --- a/Source/core/dom/ElementDataCache.h
|
| +++ b/Source/core/dom/ElementDataCache.h
|
| @@ -27,6 +27,7 @@
|
| #ifndef ElementDataCache_h
|
| #define ElementDataCache_h
|
|
|
| +#include "platform/heap/Handle.h"
|
| #include "wtf/HashMap.h"
|
| #include "wtf/PassOwnPtr.h"
|
| #include "wtf/PassRefPtr.h"
|
| @@ -45,12 +46,12 @@ public:
|
| static PassOwnPtr<ElementDataCache> create() { return adoptPtr(new ElementDataCache); }
|
| ~ElementDataCache();
|
|
|
| - PassRefPtr<ShareableElementData> cachedShareableElementDataWithAttributes(const Vector<Attribute>&);
|
| + PassRefPtrWillBeRawPtr<ShareableElementData> cachedShareableElementDataWithAttributes(const Vector<Attribute>&);
|
|
|
| private:
|
| ElementDataCache();
|
|
|
| - typedef HashMap<unsigned, RefPtr<ShareableElementData>, AlreadyHashed> ShareableElementDataCache;
|
| + typedef WillBePersistentHeapHashMap<unsigned, RefPtrWillBeMember<ShareableElementData>, AlreadyHashed> ShareableElementDataCache;
|
| ShareableElementDataCache m_shareableElementDataCache;
|
| };
|
|
|
|
|