Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Unified Diff: test/cctest/test-unique.cc

Issue 2394213003: Named all zones in the project (Closed)
Patch Set: Merge branch 'master' into zonenames Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/test-types.cc ('k') | test/cctest/wasm/test-run-wasm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-unique.cc
diff --git a/test/cctest/test-unique.cc b/test/cctest/test-unique.cc
index 980f0b6538379efbfccd053e2d247f9ca04b27ec..21eae27ca0bf40bcbe2b5b905bca50e3130901e6 100644
--- a/test/cctest/test-unique.cc
+++ b/test/cctest/test-unique.cc
@@ -150,7 +150,7 @@ TEST(UniqueSet_Add) {
MAKE_HANDLES_AND_DISALLOW_ALLOCATION;
MAKE_UNIQUES_A_B_C;
- Zone zone(CcTest::i_isolate()->allocator());
+ Zone zone(CcTest::i_isolate()->allocator(), ZONE_NAME);
UniqueSet<String>* set = new(&zone) UniqueSet<String>();
@@ -177,7 +177,7 @@ TEST(UniqueSet_Remove) {
MAKE_HANDLES_AND_DISALLOW_ALLOCATION;
MAKE_UNIQUES_A_B_C;
- Zone zone(CcTest::i_isolate()->allocator());
+ Zone zone(CcTest::i_isolate()->allocator(), ZONE_NAME);
UniqueSet<String>* set = new(&zone) UniqueSet<String>();
@@ -217,7 +217,7 @@ TEST(UniqueSet_Contains) {
MAKE_HANDLES_AND_DISALLOW_ALLOCATION;
MAKE_UNIQUES_A_B_C;
- Zone zone(CcTest::i_isolate()->allocator());
+ Zone zone(CcTest::i_isolate()->allocator(), ZONE_NAME);
UniqueSet<String>* set = new(&zone) UniqueSet<String>();
@@ -248,7 +248,7 @@ TEST(UniqueSet_At) {
MAKE_HANDLES_AND_DISALLOW_ALLOCATION;
MAKE_UNIQUES_A_B_C;
- Zone zone(CcTest::i_isolate()->allocator());
+ Zone zone(CcTest::i_isolate()->allocator(), ZONE_NAME);
UniqueSet<String>* set = new(&zone) UniqueSet<String>();
@@ -285,7 +285,7 @@ TEST(UniqueSet_Equals) {
MAKE_HANDLES_AND_DISALLOW_ALLOCATION;
MAKE_UNIQUES_A_B_C;
- Zone zone(CcTest::i_isolate()->allocator());
+ Zone zone(CcTest::i_isolate()->allocator(), ZONE_NAME);
UniqueSet<String>* set1 = new(&zone) UniqueSet<String>();
UniqueSet<String>* set2 = new(&zone) UniqueSet<String>();
@@ -323,7 +323,7 @@ TEST(UniqueSet_IsSubset1) {
MAKE_HANDLES_AND_DISALLOW_ALLOCATION;
MAKE_UNIQUES_A_B_C;
- Zone zone(CcTest::i_isolate()->allocator());
+ Zone zone(CcTest::i_isolate()->allocator(), ZONE_NAME);
UniqueSet<String>* set1 = new(&zone) UniqueSet<String>();
UniqueSet<String>* set2 = new(&zone) UniqueSet<String>();
@@ -358,7 +358,7 @@ TEST(UniqueSet_IsSubset2) {
MAKE_HANDLES_AND_DISALLOW_ALLOCATION;
MAKE_UNIQUES_A_B_C_D_E_F_G;
- Zone zone(CcTest::i_isolate()->allocator());
+ Zone zone(CcTest::i_isolate()->allocator(), ZONE_NAME);
UniqueSet<String>* set1 = new(&zone) UniqueSet<String>();
UniqueSet<String>* set2 = new(&zone) UniqueSet<String>();
@@ -401,7 +401,7 @@ TEST(UniqueSet_IsSubsetExhaustive) {
MAKE_HANDLES_AND_DISALLOW_ALLOCATION;
MAKE_UNIQUES_A_B_C_D_E_F_G;
- Zone zone(CcTest::i_isolate()->allocator());
+ Zone zone(CcTest::i_isolate()->allocator(), ZONE_NAME);
Unique<String> elements[] = {
A, B, C, D, E, F, G
@@ -424,7 +424,7 @@ TEST(UniqueSet_Intersect1) {
MAKE_HANDLES_AND_DISALLOW_ALLOCATION;
MAKE_UNIQUES_A_B_C;
- Zone zone(CcTest::i_isolate()->allocator());
+ Zone zone(CcTest::i_isolate()->allocator(), ZONE_NAME);
UniqueSet<String>* set1 = new(&zone) UniqueSet<String>();
UniqueSet<String>* set2 = new(&zone) UniqueSet<String>();
@@ -465,7 +465,7 @@ TEST(UniqueSet_IntersectExhaustive) {
MAKE_HANDLES_AND_DISALLOW_ALLOCATION;
MAKE_UNIQUES_A_B_C_D_E_F_G;
- Zone zone(CcTest::i_isolate()->allocator());
+ Zone zone(CcTest::i_isolate()->allocator(), ZONE_NAME);
Unique<String> elements[] = {
A, B, C, D, E, F, G
@@ -492,7 +492,7 @@ TEST(UniqueSet_Union1) {
MAKE_HANDLES_AND_DISALLOW_ALLOCATION;
MAKE_UNIQUES_A_B_C;
- Zone zone(CcTest::i_isolate()->allocator());
+ Zone zone(CcTest::i_isolate()->allocator(), ZONE_NAME);
UniqueSet<String>* set1 = new(&zone) UniqueSet<String>();
UniqueSet<String>* set2 = new(&zone) UniqueSet<String>();
@@ -533,7 +533,7 @@ TEST(UniqueSet_UnionExhaustive) {
MAKE_HANDLES_AND_DISALLOW_ALLOCATION;
MAKE_UNIQUES_A_B_C_D_E_F_G;
- Zone zone(CcTest::i_isolate()->allocator());
+ Zone zone(CcTest::i_isolate()->allocator(), ZONE_NAME);
Unique<String> elements[] = {
A, B, C, D, E, F, G
« no previous file with comments | « test/cctest/test-types.cc ('k') | test/cctest/wasm/test-run-wasm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698