Index: test/unittests/compiler/zone-pool-unittest.cc |
diff --git a/test/unittests/compiler/zone-pool-unittest.cc b/test/unittests/compiler/zone-pool-unittest.cc |
index 3bfde4bdce2fcbd9493f6a7d6d47425e8330ae34..47f1cc5c752adde7990ebc75f5d1967081a3f7f9 100644 |
--- a/test/unittests/compiler/zone-pool-unittest.cc |
+++ b/test/unittests/compiler/zone-pool-unittest.cc |
@@ -12,7 +12,7 @@ namespace compiler { |
class ZonePoolTest : public TestWithIsolate { |
public: |
- ZonePoolTest() {} |
+ ZonePoolTest() : zone_pool_(&allocator_) {} |
protected: |
ZonePool* zone_pool() { return &zone_pool_; } |
@@ -38,6 +38,7 @@ class ZonePoolTest : public TestWithIsolate { |
} |
private: |
+ base::AccountingAllocator allocator_; |
ZonePool zone_pool_; |
base::RandomNumberGenerator rng; |
}; |