Index: Source/core/layout/svg/LayoutSVGResourceFilter.h |
diff --git a/Source/core/layout/svg/LayoutSVGResourceFilter.h b/Source/core/layout/svg/LayoutSVGResourceFilter.h |
index 0858acb723ee699373b947f1894dedafea76935e..a9030a98e88597a56d637f63ea4fae535e450c1c 100644 |
--- a/Source/core/layout/svg/LayoutSVGResourceFilter.h |
+++ b/Source/core/layout/svg/LayoutSVGResourceFilter.h |
@@ -56,6 +56,8 @@ public: |
return adoptPtrWillBeNoop(new FilterData()); |
} |
+ void dispose(); |
+ |
DECLARE_TRACE(); |
RefPtrWillBeMember<SVGFilter> filter; |
@@ -100,7 +102,9 @@ public: |
void setFilterDataForLayoutObject(LayoutObject* object, PassOwnPtrWillBeRawPtr<FilterData> filterData) { m_filter.set(object, filterData); } |
private: |
- typedef WillBePersistentHeapHashMap<LayoutObject*, OwnPtrWillBeMember<FilterData>> FilterMap; |
+ void disposeFilterMap(); |
+ |
+ using FilterMap = WillBePersistentHeapHashMap<LayoutObject*, OwnPtrWillBeMember<FilterData>>; |
FilterMap m_filter; |
}; |