Index: include/v8-profiler.h |
diff --git a/include/v8-profiler.h b/include/v8-profiler.h |
index 7dd874ffc7439a3add98b812c634c0b493526736..34e2dbedd66b8ea2b461b7814bf52ecf5267180e 100644 |
--- a/include/v8-profiler.h |
+++ b/include/v8-profiler.h |
@@ -321,8 +321,8 @@ class V8EXPORT HeapSnapshot { |
kJSON = 0 // See format description near 'Serialize' method. |
}; |
- /** Returns heap snapshot type. */ |
- Type GetType() const; |
+ /** Deprecated. Returns kFull. */ |
+ V8_DEPRECATED(Type GetType() const); |
/** Returns heap snapshot UID (assigned by the profiler.) */ |
unsigned GetUid() const; |
@@ -451,7 +451,6 @@ class V8EXPORT HeapProfiler { |
ObjectNameResolver* global_object_name_resolver = NULL); |
/** |
* Takes a heap snapshot and returns it. Title may be an empty string. |
- * See HeapSnapshot::Type for types description. |
*/ |
const HeapSnapshot* TakeHeapSnapshot( |
Handle<String> title, |