Index: test/cctest/test-heap-profiler.cc |
diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc |
index 24d96193a2e0d85178828792b756dd8998059840..1769c1b7d5db5294a9c55913a04bc7b7ec79ffc4 100644 |
--- a/test/cctest/test-heap-profiler.cc |
+++ b/test/cctest/test-heap-profiler.cc |
@@ -892,7 +892,7 @@ TEST(NodesIteration) { |
static int StringCmp(const char* ref, i::String* act) { |
- i::SmartPointer<char> s_act = act->ToCString(); |
+ i::SmartArrayPointer<char> s_act = act->ToCString(); |
int result = strcmp(ref, *s_act); |
if (result != 0) |
fprintf(stderr, "Expected: \"%s\", Actual: \"%s\"\n", ref, *s_act); |