| Index: third_party/WebKit/Source/core/dom/ElementDataCache.h
|
| diff --git a/third_party/WebKit/Source/core/dom/ElementDataCache.h b/third_party/WebKit/Source/core/dom/ElementDataCache.h
|
| index fba63ecaaf4a5a0be6f5d4cd95713390aee6100e..e75fe4450e30e03ef0b7657bc6de59d2a6abd1f7 100644
|
| --- a/third_party/WebKit/Source/core/dom/ElementDataCache.h
|
| +++ b/third_party/WebKit/Source/core/dom/ElementDataCache.h
|
| @@ -40,20 +40,18 @@ namespace blink {
|
| class Attribute;
|
| class ShareableElementData;
|
|
|
| -class ElementDataCache final : public NoBaseWillBeGarbageCollected<ElementDataCache> {
|
| - USING_FAST_MALLOC_WILL_BE_REMOVED(ElementDataCache);
|
| - DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ElementDataCache)
|
| +class ElementDataCache final : public GarbageCollected<ElementDataCache> {
|
| public:
|
| - static PassOwnPtrWillBeRawPtr<ElementDataCache> create() { return adoptPtrWillBeNoop(new ElementDataCache); }
|
| + static RawPtr<ElementDataCache> create() { return adoptPtrWillBeNoop(new ElementDataCache); }
|
|
|
| - PassRefPtrWillBeRawPtr<ShareableElementData> cachedShareableElementDataWithAttributes(const Vector<Attribute>&);
|
| + RawPtr<ShareableElementData> cachedShareableElementDataWithAttributes(const Vector<Attribute>&);
|
|
|
| DECLARE_TRACE();
|
|
|
| private:
|
| ElementDataCache();
|
|
|
| - typedef WillBeHeapHashMap<unsigned, RefPtrWillBeMember<ShareableElementData>, AlreadyHashed> ShareableElementDataCache;
|
| + typedef HeapHashMap<unsigned, Member<ShareableElementData>, AlreadyHashed> ShareableElementDataCache;
|
| ShareableElementDataCache m_shareableElementDataCache;
|
| };
|
|
|
|
|