Index: src/heap-profiler.h |
diff --git a/src/heap-profiler.h b/src/heap-profiler.h |
index 718c39c86e3690708450459da9b27f846356f76f..16dd08a26592fb0821a10a7af31d21e3f2694da6 100644 |
--- a/src/heap-profiler.h |
+++ b/src/heap-profiler.h |
@@ -6,13 +6,16 @@ |
#define V8_HEAP_PROFILER_H_ |
#include "src/base/smart-pointers.h" |
-#include "src/heap-snapshot-generator-inl.h" |
#include "src/isolate.h" |
namespace v8 { |
namespace internal { |
+// Forward declarations. |
+class AllocationTracker; |
+class HeapObjectsMap; |
class HeapSnapshot; |
+class StringsStorage; |
class HeapProfiler { |
public: |
@@ -63,7 +66,7 @@ class HeapProfiler { |
void ClearHeapObjectMap(); |
private: |
- Heap* heap() const { return ids_->heap(); } |
+ Heap* heap() const; |
// Mapping from HeapObject addresses to objects' uids. |
base::SmartPointer<HeapObjectsMap> ids_; |