Index: src/heap-snapshot-generator.h |
diff --git a/src/heap-snapshot-generator.h b/src/heap-snapshot-generator.h |
index 08c2fe72195e0f7fcc0c2404dcbe4ea02389e0b1..a4fcef72b9a9a2cd7a3061d86540f1fc929d3137 100644 |
--- a/src/heap-snapshot-generator.h |
+++ b/src/heap-snapshot-generator.h |
@@ -157,18 +157,12 @@ class HeapSnapshotsCollection; |
// HeapSnapshotGenerator fills in a HeapSnapshot. |
class HeapSnapshot { |
public: |
- enum Type { |
- kFull = v8::HeapSnapshot::kFull |
- }; |
- |
HeapSnapshot(HeapSnapshotsCollection* collection, |
- Type type, |
const char* title, |
unsigned uid); |
void Delete(); |
HeapSnapshotsCollection* collection() { return collection_; } |
- Type type() { return type_; } |
const char* title() { return title_; } |
unsigned uid() { return uid_; } |
size_t RawSnapshotSize() const; |
@@ -203,7 +197,6 @@ class HeapSnapshot { |
private: |
HeapSnapshotsCollection* collection_; |
- Type type_; |
const char* title_; |
unsigned uid_; |
int root_index_; |
@@ -305,8 +298,7 @@ class HeapSnapshotsCollection { |
void StartHeapObjectsTracking() { is_tracking_objects_ = true; } |
void StopHeapObjectsTracking() { ids_.StopHeapObjectsTracking(); } |
- HeapSnapshot* NewSnapshot( |
- HeapSnapshot::Type type, const char* name, unsigned uid); |
+ HeapSnapshot* NewSnapshot(const char* name, unsigned uid); |
void SnapshotGenerationFinished(HeapSnapshot* snapshot); |
List<HeapSnapshot*>* snapshots() { return &snapshots_; } |
HeapSnapshot* GetSnapshot(unsigned uid); |