Index: src/heap-profiler.h |
diff --git a/src/heap-profiler.h b/src/heap-profiler.h |
index 31d0aff02f80b9e2f6fee73aed590b5e4c1d4657..2ef081ee29973b4572932517674f9179a17732cf 100644 |
--- a/src/heap-profiler.h |
+++ b/src/heap-profiler.h |
@@ -56,12 +56,8 @@ class HeapProfiler { |
static void TearDown(); |
#ifdef ENABLE_LOGGING_AND_PROFILING |
- static HeapSnapshot* TakeSnapshot(const char* name, |
- int type, |
- v8::ActivityControl* control); |
- static HeapSnapshot* TakeSnapshot(String* name, |
- int type, |
- v8::ActivityControl* control); |
+ static HeapSnapshot* TakeSnapshot(const char* name, int type); |
+ static HeapSnapshot* TakeSnapshot(String* name, int type); |
static int GetSnapshotsCount(); |
static HeapSnapshot* GetSnapshot(int index); |
static HeapSnapshot* FindSnapshot(unsigned uid); |
@@ -79,12 +75,8 @@ class HeapProfiler { |
private: |
HeapProfiler(); |
~HeapProfiler(); |
- HeapSnapshot* TakeSnapshotImpl(const char* name, |
- int type, |
- v8::ActivityControl* control); |
- HeapSnapshot* TakeSnapshotImpl(String* name, |
- int type, |
- v8::ActivityControl* control); |
+ HeapSnapshot* TakeSnapshotImpl(const char* name, int type); |
+ HeapSnapshot* TakeSnapshotImpl(String* name, int type); |
HeapSnapshotsCollection* snapshots_; |
unsigned next_snapshot_uid_; |