Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1057)

Unified Diff: Source/core/layout/svg/LayoutSVGResourceFilter.h

Issue 1010673005: Oilpan: promptly release FilterData on LayoutSVGResourceFilter destruction (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/layout/svg/LayoutSVGResourceFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « no previous file | Source/core/layout/svg/LayoutSVGResourceFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698