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

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

Issue 222443003: DevTools: Treat system object distances with less priority (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressing comments. 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/HeapSnapshot.js
diff --git a/Source/devtools/front_end/HeapSnapshot.js b/Source/devtools/front_end/HeapSnapshot.js
index f37c747715bd2a4bd94d73f27cc0604556348e33..c188581d37b3fabde6fc22fb0370f6af19d5f1b6 100644
--- a/Source/devtools/front_end/HeapSnapshot.js
+++ b/Source/devtools/front_end/HeapSnapshot.js
@@ -1329,7 +1329,7 @@ WebInspector.HeapSnapshot.prototype = {
// bfs for the rest of objects
nodesToVisitLength = 0;
- this.forEachRoot(enqueueNode.bind(null, 0), false);
+ this.forEachRoot(enqueueNode.bind(null, WebInspector.HeapSnapshotCommon.baseSystemDistance), false);
this._bfs(nodesToVisit, nodesToVisitLength, distances);
},

Powered by Google App Engine
This is Rietveld 408576698