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

Unified Diff: Source/wtf/HashTable.h

Issue 252633005: Enable WTF::HashSet<OwnPtr<> > (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Met comments from Erik Corry Created 6 years, 8 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/wtf/HashSetTest.cpp ('k') | Source/wtf/HashTraits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/HashTable.h
diff --git a/Source/wtf/HashTable.h b/Source/wtf/HashTable.h
index 41d4397597855cea4132638ff52c38d7e4665aea..8e6d120577d30dd80a8e94028874b6dd94e771dd 100644
--- a/Source/wtf/HashTable.h
+++ b/Source/wtf/HashTable.h
@@ -299,7 +299,7 @@ namespace WTF {
typedef Value ValueType;
typedef Extractor ExtractorType;
typedef KeyTraits KeyTraitsType;
- typedef typename Traits::PeekInType ValuePeekInType;
+ typedef typename Traits::PassInType ValuePassInType;
typedef IdentityHashTranslator<HashFunctions> IdentityTranslatorType;
typedef HashTableAddResult<HashTable, ValueType> AddResult;
@@ -374,7 +374,7 @@ namespace WTF {
unsigned capacity() const { return m_tableSize; }
bool isEmpty() const { return !m_keyCount; }
- AddResult add(ValuePeekInType value)
+ AddResult add(ValuePassInType value)
{
return add<IdentityTranslatorType>(Extractor::extract(value), value);
}
« no previous file with comments | « Source/wtf/HashSetTest.cpp ('k') | Source/wtf/HashTraits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698