Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Unified Diff: Source/WebCore/bindings/v8/ScriptProfiler.cpp

Issue 12087054: Revert 140611 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1397/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/bindings/v8/ScriptFunctionCall.cpp ('k') | Source/WebCore/bindings/v8/V8DOMWindowShell.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/WebCore/bindings/v8/ScriptFunctionCall.cpp ('k') | Source/WebCore/bindings/v8/V8DOMWindowShell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698