| Index: Source/core/dom/ElementDataCache.h
|
| diff --git a/Source/core/dom/ElementDataCache.h b/Source/core/dom/ElementDataCache.h
|
| index 912279e77cc8c8b39a5e0dce96b6c1464fb49e8f..d57bb2e2c92937705f581b4729ad0ed3b39a99ad 100644
|
| --- a/Source/core/dom/ElementDataCache.h
|
| +++ b/Source/core/dom/ElementDataCache.h
|
| @@ -40,17 +40,19 @@ namespace WebCore {
|
| class Attribute;
|
| class ShareableElementData;
|
|
|
| -class ElementDataCache {
|
| +class ElementDataCache FINAL : public NoBaseWillBeGarbageCollected<ElementDataCache> {
|
| + DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ElementDataCache)
|
| public:
|
| - static PassOwnPtr<ElementDataCache> create() { return adoptPtr(new ElementDataCache); }
|
| - ~ElementDataCache();
|
| + static PassOwnPtrWillBeRawPtr<ElementDataCache> create() { return adoptPtrWillBeNoop(new ElementDataCache); }
|
|
|
| PassRefPtrWillBeRawPtr<ShareableElementData> cachedShareableElementDataWithAttributes(const Vector<Attribute>&);
|
|
|
| + void trace(Visitor*);
|
| +
|
| private:
|
| ElementDataCache();
|
|
|
| - typedef WillBePersistentHeapHashMap<unsigned, RefPtrWillBeMember<ShareableElementData>, AlreadyHashed> ShareableElementDataCache;
|
| + typedef WillBeHeapHashMap<unsigned, RefPtrWillBeMember<ShareableElementData>, AlreadyHashed> ShareableElementDataCache;
|
| ShareableElementDataCache m_shareableElementDataCache;
|
| };
|
|
|
|
|