Index: test/cctest/test-func-name-inference.cc |
diff --git a/test/cctest/test-func-name-inference.cc b/test/cctest/test-func-name-inference.cc |
index 4d993af4a3652186a221cc0619d72b59a99e332f..bfae4d1360740830a8a789657d270e13453e68a5 100644 |
--- a/test/cctest/test-func-name-inference.cc |
+++ b/test/cctest/test-func-name-inference.cc |
@@ -41,7 +41,7 @@ using ::v8::internal::JSFunction; |
using ::v8::internal::Object; |
using ::v8::internal::Runtime; |
using ::v8::internal::Script; |
-using ::v8::internal::SmartPointer; |
+using ::v8::internal::SmartArrayPointer; |
using ::v8::internal::SharedFunctionInfo; |
using ::v8::internal::String; |
@@ -96,7 +96,7 @@ static void CheckFunctionName(v8::Handle<v8::Script> script, |
SharedFunctionInfo::cast(shared_func_info_ptr)); |
// Verify inferred function name. |
- SmartPointer<char> inferred_name = |
+ SmartArrayPointer<char> inferred_name = |
shared_func_info->inferred_name()->ToCString(); |
CHECK_EQ(ref_inferred_name, *inferred_name); |
#endif // ENABLE_DEBUGGER_SUPPORT |