| Index: Source/wtf/DequeTest.cpp
|
| diff --git a/Source/wtf/DequeTest.cpp b/Source/wtf/DequeTest.cpp
|
| index 3a1b8c82c7eb4e657cb6fb0c2d6c8d03b393643c..3c66d31a42456c7d640d1432b54470f7b11cc493 100644
|
| --- a/Source/wtf/DequeTest.cpp
|
| +++ b/Source/wtf/DequeTest.cpp
|
| @@ -24,7 +24,6 @@
|
| */
|
|
|
| #include "config.h"
|
| -
|
| #include "wtf/Deque.h"
|
|
|
| #include "wtf/HashSet.h"
|
| @@ -32,6 +31,8 @@
|
| #include "wtf/PassOwnPtr.h"
|
| #include <gtest/gtest.h>
|
|
|
| +namespace WTF {
|
| +
|
| namespace {
|
|
|
| TEST(DequeTest, Basic)
|
| @@ -163,7 +164,7 @@ private:
|
| int* m_destructNumber;
|
| };
|
|
|
| -typedef WTF::Deque<OwnPtr<DestructCounter>> OwnPtrDeque;
|
| +using OwnPtrDeque = Deque<OwnPtr<DestructCounter>>;
|
|
|
| TEST(DequeTest, OwnPtr)
|
| {
|
| @@ -232,7 +233,8 @@ TEST(DequeTest, OwnPtr)
|
| }
|
|
|
| // WrappedInt class will fail if it was memmoved or memcpyed.
|
| -static HashSet<void*> constructedWrappedInts;
|
| +HashSet<void*> constructedWrappedInts;
|
| +
|
| class WrappedInt {
|
| public:
|
| WrappedInt(int i = 0)
|
| @@ -313,4 +315,6 @@ TEST(DequeTest, SwapWithoutInlineCapacity)
|
| dequeB.swap(dequeA);
|
| }
|
|
|
| -} // namespace
|
| +} // anonymous namespace
|
| +
|
| +} // namespace WTF
|
|
|