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

Unified Diff: src/isolate.h

Issue 2117343006: Introduce v8::CpuProfiler::New and v8::CpuProfiler::Dispose API. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove ProfilerExtension::Scope Created 4 years, 5 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 | « src/api.cc ('k') | test/cctest/profiler-extension.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 54baa53b6c280f614e60a2937aa20d64567d0af3..74ec944c194da43429a9e7d7df30b0a98ee8bf29 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -921,7 +921,6 @@ class Isolate {
CodeEventDispatcher* code_event_dispatcher() const {
return code_event_dispatcher_.get();
}
- CpuProfiler* cpu_profiler() const { return cpu_profiler_; }
HeapProfiler* heap_profiler() const { return heap_profiler_; }
#ifdef DEBUG
@@ -1264,6 +1263,10 @@ class Isolate {
return "";
}
+ // TODO(alph): Remove along with the deprecated GetCpuProfiler().
+ friend v8::CpuProfiler* v8::Isolate::GetCpuProfiler();
+ CpuProfiler* cpu_profiler() const { return cpu_profiler_; }
+
base::Atomic32 id_;
EntryStackItem* entry_stack_;
int stack_trace_nesting_level_;
« no previous file with comments | « src/api.cc ('k') | test/cctest/profiler-extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698