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_; |