Index: Source/WebCore/bindings/v8/ScriptProfiler.cpp |
=================================================================== |
--- Source/WebCore/bindings/v8/ScriptProfiler.cpp (revision 141118) |
+++ Source/WebCore/bindings/v8/ScriptProfiler.cpp (working copy) |
@@ -59,7 +59,7 @@ |
profileNameIdleTimeMap->add(title, 0); |
v8::HandleScope hs; |
- v8::CpuProfiler::StartProfiling(v8String(title, state->isolate())); |
+ v8::CpuProfiler::StartProfiling(deprecatedV8String(title)); |
} |
void ScriptProfiler::startForPage(Page*, const String& title) |
@@ -78,8 +78,8 @@ |
{ |
v8::HandleScope hs; |
const v8::CpuProfile* profile = state ? |
- v8::CpuProfiler::StopProfiling(v8String(title, state->isolate()), state->context()->GetSecurityToken()) : |
- v8::CpuProfiler::StopProfiling(v8String(title, state->isolate())); |
+ v8::CpuProfiler::StopProfiling(deprecatedV8String(title), state->context()->GetSecurityToken()) : |
+ v8::CpuProfiler::StopProfiling(deprecatedV8String(title)); |
if (!profile) |
return 0; |