Index: runtime/vm/benchmark_test.cc |
=================================================================== |
--- runtime/vm/benchmark_test.cc (revision 23633) |
+++ runtime/vm/benchmark_test.cc (working copy) |
@@ -394,7 +394,7 @@ |
static uint8_t* malloc_allocator( |
uint8_t* ptr, intptr_t old_size, intptr_t new_size) { |
- return reinterpret_cast<uint8_t*>(realloc(ptr, new_size)); |
+ return Utils::Realloc(ptr, old_size, new_size); |
} |