| Index: third_party/WebKit/Source/platform/wtf/HashTraits.h
|
| diff --git a/third_party/WebKit/Source/platform/wtf/HashTraits.h b/third_party/WebKit/Source/platform/wtf/HashTraits.h
|
| index c0bbf579156f97c5b0933a5288c58b2ce73282a3..1e6122a44cf141cfde773f947a23b6add7e428c4 100644
|
| --- a/third_party/WebKit/Source/platform/wtf/HashTraits.h
|
| +++ b/third_party/WebKit/Source/platform/wtf/HashTraits.h
|
| @@ -223,7 +223,6 @@ struct HashTraits<RefPtr<P>> : SimpleClassHashTraits<RefPtr<P>> {
|
|
|
| typedef P* PeekOutType;
|
| static PeekOutType Peek(const RefPtr<P>& value) { return value.Get(); }
|
| - static PeekOutType Peek(std::nullptr_t) { return 0; }
|
| };
|
|
|
| template <typename T>
|
| @@ -245,7 +244,6 @@ struct HashTraits<std::unique_ptr<T>>
|
| static PeekOutType Peek(const std::unique_ptr<T>& value) {
|
| return value.get();
|
| }
|
| - static PeekOutType Peek(std::nullptr_t) { return nullptr; }
|
|
|
| static void ConstructDeletedValue(std::unique_ptr<T>& slot, bool) {
|
| // Dirty trick: implant an invalid pointer to unique_ptr. Destructor isn't
|
|
|