| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 38b41d9296712cec0160482c91071b77b854e033..ddde52b58aaa63555bf9fc8dd68baa0a62f944a4 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -93,7 +93,7 @@ void RunWithProfiler(void (*test)()) {
|
| v8::String::NewFromUtf8(env->GetIsolate(), "my_profile1");
|
| v8::CpuProfiler* cpu_profiler = env->GetIsolate()->GetCpuProfiler();
|
|
|
| - cpu_profiler->StartCpuProfiling(profile_name);
|
| + cpu_profiler->StartProfiling(profile_name);
|
| (*test)();
|
| reinterpret_cast<i::CpuProfiler*>(cpu_profiler)->DeleteAllProfiles();
|
| }
|
|
|