Index: include/v8-profiler.h |
diff --git a/include/v8-profiler.h b/include/v8-profiler.h |
index 46752e968dcf1ad4c487d4246ebd385f91255539..59c2d5dacdb13eb390cd6e266957398336a5d553 100644 |
--- a/include/v8-profiler.h |
+++ b/include/v8-profiler.h |
@@ -257,7 +257,11 @@ class V8_EXPORT HeapGraphNode { |
SnapshotObjectId GetId() const; |
/** Returns node's own size, in bytes. */ |
- int GetSelfSize() const; |
+ V8_DEPRECATED("Use GetShallowSize instead", |
+ int GetSelfSize() const); |
+ |
+ /** Returns node's own size, in bytes. */ |
+ size_t GetShallowSize() const; |
/** Returns child nodes count of the node. */ |
int GetChildrenCount() const; |