| Index: Source/wtf/HashSetTest.cpp
|
| diff --git a/Source/wtf/HashSetTest.cpp b/Source/wtf/HashSetTest.cpp
|
| index 888495aa9ff79ce686daa5889cb6f829e3ba948d..66b547c9a58c97338ba0cd2d0abeb21eaa4ec18a 100644
|
| --- a/Source/wtf/HashSetTest.cpp
|
| +++ b/Source/wtf/HashSetTest.cpp
|
| @@ -24,24 +24,24 @@
|
| */
|
|
|
| #include "config.h"
|
| -
|
| #include "wtf/HashSet.h"
|
| +
|
| #include "wtf/OwnPtr.h"
|
| #include "wtf/PassOwnPtr.h"
|
| #include "wtf/RefCounted.h"
|
| #include <gtest/gtest.h>
|
|
|
| -namespace {
|
| +namespace WTF {
|
|
|
| template<int initialCapacity>
|
| - struct InitialCapacityTestHashTraits : public WTF::UnsignedWithZeroKeyHashTraits<int> {
|
| + struct InitialCapacityTestHashTraits : public UnsignedWithZeroKeyHashTraits<int> {
|
| static const int minimumTableSize = initialCapacity;
|
| };
|
|
|
| template<unsigned size>
|
| void testInitialCapacity()
|
| {
|
| - const unsigned initialCapacity = WTF::HashTableCapacityForSize<size>::value;
|
| + const unsigned initialCapacity = HashTableCapacityForSize<size>::value;
|
| HashSet<int, DefaultHash<int>::Hash, InitialCapacityTestHashTraits<initialCapacity>> testSet;
|
|
|
| // Initial capacity is null.
|
| @@ -208,5 +208,4 @@ TEST(HashSetTest, HashSetRefPtr)
|
| EXPECT_EQ(1, DummyRefCounted::s_refInvokesCount);
|
| }
|
|
|
| -
|
| -} // namespace
|
| +} // namespace WTF
|
|
|