| Index: Source/wtf/HashTraits.h
|
| diff --git a/Source/wtf/HashTraits.h b/Source/wtf/HashTraits.h
|
| index 234969da3b90db0d614be398a6ea0d316ecf5dbe..c26bfa14a7baadf2ad8058cafb50fbe95f8ce11a 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 needsMarking = NeedsMarking<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 needsMarking = KeyTraits::needsMarking || ValueTraits::needsMarking;
|
| static const bool isWeak = KeyTraits::isWeak || ValueTraits::isWeak;
|
|
|
| static const int minimumTableSize = KeyTraits::minimumTableSize;
|
|
|