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 4e9d1b1922e44f9ae49236a7c57405c7cda45751..d7c50830503ce49944d5b5a6e2d9e4579395f954 100644 |
--- a/test/cctest/test-func-name-inference.cc |
+++ b/test/cctest/test-func-name-inference.cc |
@@ -89,7 +89,7 @@ static void CheckFunctionName(v8::Handle<v8::Script> script, |
// Verify inferred function name. |
SmartArrayPointer<char> inferred_name = |
shared_func_info->inferred_name()->ToCString(); |
- CHECK_EQ(ref_inferred_name, *inferred_name); |
+ CHECK_EQ(ref_inferred_name, inferred_name.get()); |
#endif // ENABLE_DEBUGGER_SUPPORT |
} |