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

Unified Diff: Source/platform/heap/Visitor.h

Issue 398793002: Oilpan: Remove support for tracing of off-heap ListHashSets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix number in test. Created 6 years, 5 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 | « Source/platform/heap/HeapTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Visitor.h
diff --git a/Source/platform/heap/Visitor.h b/Source/platform/heap/Visitor.h
index 3060194e9b7d7f36a9f1a8a9bb9c82bd022cbfe4..0d7df1bb3d3f259af8e00bdfa202eb1a5d029fe2 100644
--- a/Source/platform/heap/Visitor.h
+++ b/Source/platform/heap/Visitor.h
@@ -304,12 +304,6 @@ public:
OffHeapCollectionTraceTrait<HashSet<T, U, V> >::trace(this, hashSet);
}
- template<typename T, size_t inlineCapacity, typename U>
- void trace(const ListHashSet<T, inlineCapacity, U>& hashSet)
- {
- OffHeapCollectionTraceTrait<ListHashSet<T, inlineCapacity, U> >::trace(this, hashSet);
- }
-
template<typename T, size_t N>
void trace(const Deque<T, N>& deque)
{
@@ -470,20 +464,6 @@ struct OffHeapCollectionTraceTrait<WTF::HashSet<T, HashFunctions, Traits, WTF::D
}
};
-template<typename T, size_t inlineCapacity, typename HashFunctions>
-struct OffHeapCollectionTraceTrait<ListHashSet<T, inlineCapacity, HashFunctions> > {
- typedef WTF::ListHashSet<T, inlineCapacity, HashFunctions> ListHashSet;
-
- static void trace(Visitor* visitor, const ListHashSet& set)
- {
- if (set.isEmpty())
- return;
- ListHashSet& iterSet = const_cast<ListHashSet&>(set);
- for (typename ListHashSet::iterator it = iterSet.begin(), end = iterSet.end(); it != end; ++it)
- visitor->trace(*it);
- }
-};
-
template<typename Key, typename Value, typename HashFunctions, typename KeyTraits, typename ValueTraits>
struct OffHeapCollectionTraceTrait<WTF::HashMap<Key, Value, HashFunctions, KeyTraits, ValueTraits, WTF::DefaultAllocator> > {
typedef WTF::HashMap<Key, Value, HashFunctions, KeyTraits, ValueTraits, WTF::DefaultAllocator> HashMap;
« no previous file with comments | « Source/platform/heap/HeapTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698