| Index: test/cctest/test-heap-profiler.cc
|
| diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc
|
| index eff5744d83543664cc10f09a49b98f862fc08bea..5c7d9d8f58d2e06432e9a4d2cc2284cd9df5cab1 100644
|
| --- a/test/cctest/test-heap-profiler.cc
|
| +++ b/test/cctest/test-heap-profiler.cc
|
| @@ -1581,9 +1581,9 @@ TEST(GetHeapValueForDeletedObject) {
|
|
|
| static int StringCmp(const char* ref, i::String* act) {
|
| i::SmartArrayPointer<char> s_act = act->ToCString();
|
| - int result = strcmp(ref, *s_act);
|
| + int result = strcmp(ref, s_act.get());
|
| if (result != 0)
|
| - fprintf(stderr, "Expected: \"%s\", Actual: \"%s\"\n", ref, *s_act);
|
| + fprintf(stderr, "Expected: \"%s\", Actual: \"%s\"\n", ref, s_act.get());
|
| return result;
|
| }
|
|
|
|
|