| Index: third_party/WebKit/Source/wtf/HashFunctions.h
|
| diff --git a/third_party/WebKit/Source/wtf/HashFunctions.h b/third_party/WebKit/Source/wtf/HashFunctions.h
|
| index 1d02ceee54fec78b3d199d48fe44b934068019d1..3d76ba50927da8fe4d0534f0b488b3050062610d 100644
|
| --- a/third_party/WebKit/Source/wtf/HashFunctions.h
|
| +++ b/third_party/WebKit/Source/wtf/HashFunctions.h
|
| @@ -155,16 +155,6 @@ struct RefPtrHash : PtrHash<T> {
|
| };
|
|
|
| template <typename T>
|
| -struct RawPtrHash : PtrHash<T> {
|
| - using PtrHash<T>::hash;
|
| - static unsigned hash(const RawPtr<T>& key) { return hash(key.get()); }
|
| - using PtrHash<T>::equal;
|
| - static bool equal(const RawPtr<T>& a, const RawPtr<T>& b) { return a == b; }
|
| - static bool equal(T* a, const RawPtr<T>& b) { return a == b; }
|
| - static bool equal(const RawPtr<T>& a, T* b) { return a == b; }
|
| -};
|
| -
|
| -template <typename T>
|
| struct OwnPtrHash : PtrHash<T> {
|
| using PtrHash<T>::hash;
|
| static unsigned hash(const OwnPtr<T>& key) { return hash(key.get()); }
|
| @@ -230,10 +220,6 @@ struct DefaultHash<RefPtr<T>> {
|
| using Hash = RefPtrHash<T>;
|
| };
|
| template <typename T>
|
| -struct DefaultHash<RawPtr<T>> {
|
| - using Hash = RawPtrHash<T>;
|
| -};
|
| -template <typename T>
|
| struct DefaultHash<OwnPtr<T>> {
|
| using Hash = OwnPtrHash<T>;
|
| };
|
|
|