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

Unified Diff: sky/engine/wtf/ListHashSet.h

Issue 729733002: Remove more bits of the Oilpan tracing system (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/wtf/LinkedHashSet.h ('k') | sky/engine/wtf/TypeTraits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/wtf/ListHashSet.h
diff --git a/sky/engine/wtf/ListHashSet.h b/sky/engine/wtf/ListHashSet.h
index 1b8515a5798642fe96ff4e1ae77e57d92ab34e1e..068eb7d3bf5d4c501479feef7abba389925a4055 100644
--- a/sky/engine/wtf/ListHashSet.h
+++ b/sky/engine/wtf/ListHashSet.h
@@ -185,8 +185,6 @@ namespace WTF {
ValuePassOutType take(ValuePeekInType);
ValuePassOutType takeFirst();
- void trace(typename Allocator::Visitor*);
-
private:
void unlink(Node*);
void unlinkAndDelete(Node*);
@@ -330,8 +328,6 @@ namespace WTF {
return node >= pool() && node < pastPool();
}
- static void traceValue(typename DefaultAllocator::Visitor* visitor, Node* node) { }
-
private:
Node* pool() { return reinterpret_cast_ptr<Node*>(m_pool.buffer); }
Node* pastPool() { return pool() + m_poolSize; }
@@ -973,23 +969,6 @@ namespace WTF {
node->destroy(this->allocator());
}
- template<typename T, size_t inlineCapacity, typename U, typename V>
- void ListHashSet<T, inlineCapacity, U, V>::trace(typename Allocator::Visitor* visitor)
- {
- COMPILE_ASSERT(HashTraits<T>::weakHandlingFlag == NoWeakHandlingInCollections, ListHashSetDoesNotSupportWeakness);
- // This marks all the nodes and their contents live that can be
- // accessed through the HashTable. That includes m_head and m_tail
- // so we do not have to explicitly trace them here.
- m_impl.trace(visitor);
- }
-
-#if !ENABLE(OILPAN)
- template<typename T, size_t U, typename V>
- struct NeedsTracing<ListHashSet<T, U, V> > {
- static const bool value = false;
- };
-#endif
-
} // namespace WTF
using WTF::ListHashSet;
« no previous file with comments | « sky/engine/wtf/LinkedHashSet.h ('k') | sky/engine/wtf/TypeTraits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698