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

Unified Diff: Source/heap/Visitor.h

Issue 216723002: Make sure all destructors are called in HeapHashMap and HeapHashSet (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
Index: Source/heap/Visitor.h
diff --git a/Source/heap/Visitor.h b/Source/heap/Visitor.h
index 75a97a34195c911fdecdecbac8ae9bd68c7a644b..30c6a0c8ec0a6bbdf6170842fafa204dc89b94d9 100644
--- a/Source/heap/Visitor.h
+++ b/Source/heap/Visitor.h
@@ -480,8 +480,12 @@ struct OffHeapCollectionTraceTrait<WTF::Deque<T, N> > {
template<typename T, typename Traits = WTF::VectorTraits<T> >
class HeapVectorBacking;
-template<typename Key, typename Value, typename Extractor, typename Traits, typename KeyTraits>
-class HeapHashTableBacking;
+
+template<typename Table>
+class HeapHashTableBacking {
+public:
+ static void finalize(void* pointer);
+};
template<typename T>
class DefaultTraceTrait<T, false> {

Powered by Google App Engine
This is Rietveld 408576698