Index: test/cctest/test-reloc-info.cc |
diff --git a/test/cctest/test-reloc-info.cc b/test/cctest/test-reloc-info.cc |
index 0378fb3413bc4215b6796e01c1af0525bacc485d..5bdc4c3e6aef1496e6432074d512dd25e5d27e0d 100644 |
--- a/test/cctest/test-reloc-info.cc |
+++ b/test/cctest/test-reloc-info.cc |
@@ -45,7 +45,7 @@ TEST(Positions) { |
const int code_size = 10 * KB; |
int relocation_info_size = 10 * KB; |
const int buffer_size = code_size + relocation_info_size; |
- SmartPointer<byte> buffer(new byte[buffer_size]); |
+ SmartArrayPointer<byte> buffer(new byte[buffer_size]); |
byte* pc = *buffer; |
byte* buffer_end = *buffer + buffer_size; |