Index: test/cctest/test-unique.cc |
diff --git a/test/cctest/test-unique.cc b/test/cctest/test-unique.cc |
index 207c2450a0cdf89ba1b6663b396889d52accd3ec..d84279475daf95bfb05de6c70dea7b1978949a90 100644 |
--- a/test/cctest/test-unique.cc |
+++ b/test/cctest/test-unique.cc |
@@ -143,7 +143,7 @@ TEST(UniqueSet_Add) { |
MAKE_HANDLES_AND_DISALLOW_ALLOCATION; |
MAKE_UNIQUES_A_B_C; |
- Zone zone; |
+ Zone zone(CcTest::i_isolate()->allocator()); |
UniqueSet<String>* set = new(&zone) UniqueSet<String>(); |
@@ -170,7 +170,7 @@ TEST(UniqueSet_Remove) { |
MAKE_HANDLES_AND_DISALLOW_ALLOCATION; |
MAKE_UNIQUES_A_B_C; |
- Zone zone; |
+ Zone zone(CcTest::i_isolate()->allocator()); |
UniqueSet<String>* set = new(&zone) UniqueSet<String>(); |
@@ -210,7 +210,7 @@ TEST(UniqueSet_Contains) { |
MAKE_HANDLES_AND_DISALLOW_ALLOCATION; |
MAKE_UNIQUES_A_B_C; |
- Zone zone; |
+ Zone zone(CcTest::i_isolate()->allocator()); |
UniqueSet<String>* set = new(&zone) UniqueSet<String>(); |
@@ -241,7 +241,7 @@ TEST(UniqueSet_At) { |
MAKE_HANDLES_AND_DISALLOW_ALLOCATION; |
MAKE_UNIQUES_A_B_C; |
- Zone zone; |
+ Zone zone(CcTest::i_isolate()->allocator()); |
UniqueSet<String>* set = new(&zone) UniqueSet<String>(); |
@@ -278,7 +278,7 @@ TEST(UniqueSet_Equals) { |
MAKE_HANDLES_AND_DISALLOW_ALLOCATION; |
MAKE_UNIQUES_A_B_C; |
- Zone zone; |
+ Zone zone(CcTest::i_isolate()->allocator()); |
UniqueSet<String>* set1 = new(&zone) UniqueSet<String>(); |
UniqueSet<String>* set2 = new(&zone) UniqueSet<String>(); |
@@ -316,7 +316,7 @@ TEST(UniqueSet_IsSubset1) { |
MAKE_HANDLES_AND_DISALLOW_ALLOCATION; |
MAKE_UNIQUES_A_B_C; |
- Zone zone; |
+ Zone zone(CcTest::i_isolate()->allocator()); |
UniqueSet<String>* set1 = new(&zone) UniqueSet<String>(); |
UniqueSet<String>* set2 = new(&zone) UniqueSet<String>(); |
@@ -351,7 +351,7 @@ TEST(UniqueSet_IsSubset2) { |
MAKE_HANDLES_AND_DISALLOW_ALLOCATION; |
MAKE_UNIQUES_A_B_C_D_E_F_G; |
- Zone zone; |
+ Zone zone(CcTest::i_isolate()->allocator()); |
UniqueSet<String>* set1 = new(&zone) UniqueSet<String>(); |
UniqueSet<String>* set2 = new(&zone) UniqueSet<String>(); |
@@ -394,7 +394,7 @@ TEST(UniqueSet_IsSubsetExhaustive) { |
MAKE_HANDLES_AND_DISALLOW_ALLOCATION; |
MAKE_UNIQUES_A_B_C_D_E_F_G; |
- Zone zone; |
+ Zone zone(CcTest::i_isolate()->allocator()); |
Unique<String> elements[] = { |
A, B, C, D, E, F, G |
@@ -417,7 +417,7 @@ TEST(UniqueSet_Intersect1) { |
MAKE_HANDLES_AND_DISALLOW_ALLOCATION; |
MAKE_UNIQUES_A_B_C; |
- Zone zone; |
+ Zone zone(CcTest::i_isolate()->allocator()); |
UniqueSet<String>* set1 = new(&zone) UniqueSet<String>(); |
UniqueSet<String>* set2 = new(&zone) UniqueSet<String>(); |
@@ -458,7 +458,7 @@ TEST(UniqueSet_IntersectExhaustive) { |
MAKE_HANDLES_AND_DISALLOW_ALLOCATION; |
MAKE_UNIQUES_A_B_C_D_E_F_G; |
- Zone zone; |
+ Zone zone(CcTest::i_isolate()->allocator()); |
Unique<String> elements[] = { |
A, B, C, D, E, F, G |
@@ -485,7 +485,7 @@ TEST(UniqueSet_Union1) { |
MAKE_HANDLES_AND_DISALLOW_ALLOCATION; |
MAKE_UNIQUES_A_B_C; |
- Zone zone; |
+ Zone zone(CcTest::i_isolate()->allocator()); |
UniqueSet<String>* set1 = new(&zone) UniqueSet<String>(); |
UniqueSet<String>* set2 = new(&zone) UniqueSet<String>(); |
@@ -526,7 +526,7 @@ TEST(UniqueSet_UnionExhaustive) { |
MAKE_HANDLES_AND_DISALLOW_ALLOCATION; |
MAKE_UNIQUES_A_B_C_D_E_F_G; |
- Zone zone; |
+ Zone zone(CcTest::i_isolate()->allocator()); |
Unique<String> elements[] = { |
A, B, C, D, E, F, G |