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

Unified Diff: sky/engine/wtf/HashTraits.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/HashTable.h ('k') | sky/engine/wtf/LinkedHashSet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/wtf/HashTraits.h
diff --git a/sky/engine/wtf/HashTraits.h b/sky/engine/wtf/HashTraits.h
index c4c8ffef3432c854c1e72ec86445958d0af43c56..c78e729a8d797aa46f7f30bb0fa2f58f902fb932 100644
--- a/sky/engine/wtf/HashTraits.h
+++ b/sky/engine/wtf/HashTraits.h
@@ -64,11 +64,6 @@ namespace WTF {
#else
static const unsigned minimumTableSize = 8;
#endif
-
- template<typename U = void>
- struct NeedsTracingLazily {
- static const bool value = NeedsTracing<T>::value;
- };
static const WeakHandlingFlag weakHandlingFlag = IsWeak<T>::value ? WeakHandlingInCollections : NoWeakHandlingInCollections;
};
@@ -285,10 +280,6 @@ namespace WTF {
static EmptyValueType emptyValue() { return KeyValuePair<typename KeyTraits::EmptyValueType, typename ValueTraits::EmptyValueType>(KeyTraits::emptyValue(), ValueTraits::emptyValue()); }
static const bool needsDestruction = KeyTraits::needsDestruction || ValueTraits::needsDestruction;
- template<typename U = void>
- struct NeedsTracingLazily {
- static const bool value = ShouldBeTraced<KeyTraits>::value || ShouldBeTraced<ValueTraits>::value;
- };
static const WeakHandlingFlag weakHandlingFlag = (KeyTraits::weakHandlingFlag == WeakHandlingInCollections || ValueTraits::weakHandlingFlag == WeakHandlingInCollections) ? WeakHandlingInCollections : NoWeakHandlingInCollections;
static const unsigned minimumTableSize = KeyTraits::minimumTableSize;
« no previous file with comments | « sky/engine/wtf/HashTable.h ('k') | sky/engine/wtf/LinkedHashSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698