Index: third_party/WebKit/Source/wtf/ListHashSetTest.cpp |
diff --git a/third_party/WebKit/Source/wtf/ListHashSetTest.cpp b/third_party/WebKit/Source/wtf/ListHashSetTest.cpp |
index 4d97e86563eee31f4f01ea2d30d2ecf2a1fda5bf..1c5a35455d3682128372a2184350dbe233a0ffe9 100644 |
--- a/third_party/WebKit/Source/wtf/ListHashSetTest.cpp |
+++ b/third_party/WebKit/Source/wtf/ListHashSetTest.cpp |
@@ -645,11 +645,11 @@ struct CountCopyHashTraits : public GenericHashTraits<CountCopy> { |
static bool isDeletedValue(const CountCopy& value) { return value.counter() == CountCopy::kDeletedValue; } |
}; |
-struct CountCopyHash : public PtrHash<const int*> { |
- static unsigned hash(const CountCopy& value) { return PtrHash<const int*>::hash(value.counter()); } |
+struct CountCopyHash : public PtrHash<const int> { |
+ static unsigned hash(const CountCopy& value) { return PtrHash<const int>::hash(value.counter()); } |
static bool equal(const CountCopy& left, const CountCopy& right) |
{ |
- return PtrHash<const int*>::equal(left.counter(), right.counter()); |
+ return PtrHash<const int>::equal(left.counter(), right.counter()); |
} |
}; |