Index: third_party/WebKit/Source/wtf/HashSet.h |
diff --git a/third_party/WebKit/Source/wtf/HashSet.h b/third_party/WebKit/Source/wtf/HashSet.h |
index 5aa01929646c90a571b3aa475512aabb3e8433e1..59fd57b98d3fdd6380ea92cb2d99d1a78735667b 100644 |
--- a/third_party/WebKit/Source/wtf/HashSet.h |
+++ b/third_party/WebKit/Source/wtf/HashSet.h |
@@ -110,8 +110,6 @@ public: |
template <typename Collection> |
void removeAll(const Collection& toBeRemoved) { WTF::removeAll(*this, toBeRemoved); } |
- static bool isValidValue(ValuePeekInType); |
- |
ValuePassOutType take(iterator); |
ValuePassOutType take(ValuePeekInType); |
ValuePassOutType takeAny(); |
@@ -230,23 +228,6 @@ inline void HashSet<T, U, V, W>::clear() |
} |
template <typename T, typename U, typename V, typename W> |
-inline bool HashSet<T, U, V, W>::isValidValue(ValuePeekInType value) |
-{ |
- if (ValueTraits::isDeletedValue(value)) |
- return false; |
- |
- if (HashFunctions::safeToCompareToEmptyOrDeleted) { |
- if (value == ValueTraits::emptyValue()) |
- return false; |
- } else { |
- if (isHashTraitsEmptyValue<ValueTraits>(value)) |
- return false; |
- } |
- |
- return true; |
-} |
- |
-template <typename T, typename U, typename V, typename W> |
inline typename HashSet<T, U, V, W>::ValuePassOutType HashSet<T, U, V, W>::take(iterator it) |
{ |
if (it == end()) |