Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Unified Diff: Source/devtools/front_end/HeapSnapshotCommon.js

Issue 222443003: DevTools: Treat system object distances with less priority (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/HeapSnapshotCommon.js
diff --git a/Source/devtools/front_end/HeapSnapshotCommon.js b/Source/devtools/front_end/HeapSnapshotCommon.js
index b99619ae6d68577be518f17ce9db490709e717df..d5ad3fa6a1e2afeb675f9e38d8916f49aa159ae9 100644
--- a/Source/devtools/front_end/HeapSnapshotCommon.js
+++ b/Source/devtools/front_end/HeapSnapshotCommon.js
@@ -221,9 +221,10 @@ WebInspector.HeapSnapshotCommon.ItemsRange = function(startPosition, endPosition
* @param {number} rootNodeIndex
* @param {number} totalSize
* @param {number} maxJSObjectId
+ * @param {number} baseSystemDistance
* @constructor
*/
-WebInspector.HeapSnapshotCommon.StaticData = function(nodeCount, rootNodeIndex, totalSize, maxJSObjectId)
+WebInspector.HeapSnapshotCommon.StaticData = function(nodeCount, rootNodeIndex, totalSize, maxJSObjectId, baseSystemDistance)
{
/** @type {number} */
this.nodeCount = nodeCount;
@@ -233,6 +234,8 @@ WebInspector.HeapSnapshotCommon.StaticData = function(nodeCount, rootNodeIndex,
this.totalSize = totalSize;
/** @type {number} */
this.maxJSObjectId = maxJSObjectId;
+ /** @type {number} */
+ this.baseSystemDistance = baseSystemDistance;
}
/**
@@ -280,4 +283,4 @@ WebInspector.HeapSnapshotCommon.NodeFilter.prototype =
{
return this.minNodeId === o.minNodeId && this.maxNodeId === o.maxNodeId && this.allocationNodeId === o.allocationNodeId;
}
-}
+}

Powered by Google App Engine
This is Rietveld 408576698