Index: test/cctest/test-list.cc |
diff --git a/test/cctest/test-list.cc b/test/cctest/test-list.cc |
index 4c78f02cee1e0bae1bbcb03b9986e461b6a6354c..740b432f3e8c041676db592af329d94c93147e8b 100644 |
--- a/test/cctest/test-list.cc |
+++ b/test/cctest/test-list.cc |
@@ -35,7 +35,7 @@ using namespace v8::internal; |
// Use a testing allocator that clears memory before deletion. |
class ZeroingAllocationPolicy { |
public: |
- static void* New(size_t size) { |
+ 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)); |