Index: test/cctest/test-list.cc |
diff --git a/test/cctest/test-list.cc b/test/cctest/test-list.cc |
index 4c78f02cee1e0bae1bbcb03b9986e461b6a6354c..9138bdac1c340bc3a819dc0e6372468c842a6077 100644 |
--- a/test/cctest/test-list.cc |
+++ b/test/cctest/test-list.cc |
@@ -33,9 +33,8 @@ |
using namespace v8::internal; |
// Use a testing allocator that clears memory before deletion. |
-class ZeroingAllocationPolicy { |
- public: |
- static void* New(size_t size) { |
+struct ZeroingAllocationPolicy { |
danno
2012/06/01 11:29:24
This is an unrelated, unnecessary change. Please r
|
+ void* New(size_t size) { |
// Stash the size in the first word to use for Delete. |
size_t true_size = size + sizeof(size_t); |
size_t* result = reinterpret_cast<size_t*>(malloc(true_size)); |