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

Unified Diff: src/runtime.cc

Issue 466006: When executing 'profile' request, delegate to api function, not to internal one. (Closed)
Patch Set: Created 11 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index 6a5a7f02099debcb6e27e1a30608b9362a71697e..fed518f7ff0233c1e02d0a1b7c186ff63089cfa7 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -7701,7 +7701,7 @@ static Object* Runtime_ProfilerResume(Arguments args) {
ASSERT(args.length() == 1);
CONVERT_CHECKED(Smi, smi_modules, args[0]);
- Logger::ResumeProfiler(smi_modules->value());
+ v8::V8::ResumeProfilerEx(smi_modules->value());
return Heap::undefined_value();
}
@@ -7711,7 +7711,7 @@ static Object* Runtime_ProfilerPause(Arguments args) {
ASSERT(args.length() == 1);
CONVERT_CHECKED(Smi, smi_modules, args[0]);
- Logger::PauseProfiler(smi_modules->value());
+ v8::V8::PauseProfilerEx(smi_modules->value());
return Heap::undefined_value();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698