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

Unified Diff: Source/wtf/HashTraits.h

Issue 106423003: [oilpan] Rename visit to mark. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Address comments. Created 7 years 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/wtf/HashTable.h ('k') | Source/wtf/TypeTraits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/HashTraits.h
diff --git a/Source/wtf/HashTraits.h b/Source/wtf/HashTraits.h
index 234969da3b90db0d614be398a6ea0d316ecf5dbe..e3924bcd101955c7e7397e7ac2fbaee029c173bd 100644
--- a/Source/wtf/HashTraits.h
+++ b/Source/wtf/HashTraits.h
@@ -54,9 +54,7 @@ namespace WTF {
// a hash table will have at least N entries.
static const int minimumTableSize = 8;
- // By default, nothing needs to be done with the keys and values when
- // visiting the hash table.
- static const bool needsVisiting = NeedsVisiting<T>::value;
+ static const bool needsTracing = NeedsTracing<T>::value;
static const bool isWeak = IsWeak<T>::value;
};
@@ -250,7 +248,7 @@ 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;
- static const bool needsVisiting = KeyTraits::needsVisiting || ValueTraits::needsVisiting;
+ static const bool needsTracing = KeyTraits::needsTracing || ValueTraits::needsTracing;
static const bool isWeak = KeyTraits::isWeak || ValueTraits::isWeak;
static const int minimumTableSize = KeyTraits::minimumTableSize;
« no previous file with comments | « Source/wtf/HashTable.h ('k') | Source/wtf/TypeTraits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698