| Index: Source/bindings/v8/ScriptProfiler.cpp
|
| diff --git a/Source/bindings/v8/ScriptProfiler.cpp b/Source/bindings/v8/ScriptProfiler.cpp
|
| index b10c8255a4ce8040a692c939322c72083c14f562..a39967e968a73b5a8beb120f7d8ee643d15ccd8b 100644
|
| --- a/Source/bindings/v8/ScriptProfiler.cpp
|
| +++ b/Source/bindings/v8/ScriptProfiler.cpp
|
| @@ -69,7 +69,7 @@ void ScriptProfiler::start(const String& title)
|
| if (!profiler)
|
| return;
|
| v8::HandleScope handleScope(isolate);
|
| - profiler->StartCpuProfiling(v8String(isolate, title), true);
|
| + profiler->StartProfiling(v8String(isolate, title), true);
|
| }
|
|
|
| PassRefPtr<ScriptProfile> ScriptProfiler::stop(const String& title)
|
| @@ -79,7 +79,7 @@ PassRefPtr<ScriptProfile> ScriptProfiler::stop(const String& title)
|
| if (!profiler)
|
| return nullptr;
|
| v8::HandleScope handleScope(isolate);
|
| - const v8::CpuProfile* profile = profiler->StopCpuProfiling(v8String(isolate, title));
|
| + v8::CpuProfile* profile = profiler->StopProfiling(v8String(isolate, title));
|
| if (!profile)
|
| return nullptr;
|
|
|
|
|