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

Side by Side 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: Addressing comments. Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 WebInspector.HeapSnapshotProgressEvent = { 31 WebInspector.HeapSnapshotProgressEvent = {
32 Update: "ProgressUpdate" 32 Update: "ProgressUpdate"
33 }; 33 };
34 34
35 WebInspector.HeapSnapshotCommon = { 35 WebInspector.HeapSnapshotCommon = {
36 } 36 }
37 37
38 WebInspector.HeapSnapshotCommon.baseSystemDistance = 100000000;
yurys 2014/04/03 09:34:21 heapRootDistance
39
38 /** 40 /**
39 * @param {!Array.<!WebInspector.HeapSnapshotCommon.SerializedAllocationNode>} n odesWithSingleCaller 41 * @param {!Array.<!WebInspector.HeapSnapshotCommon.SerializedAllocationNode>} n odesWithSingleCaller
40 * @param {!Array.<!WebInspector.HeapSnapshotCommon.SerializedAllocationNode>} b ranchingCallers 42 * @param {!Array.<!WebInspector.HeapSnapshotCommon.SerializedAllocationNode>} b ranchingCallers
41 * @constructor 43 * @constructor
42 */ 44 */
43 WebInspector.HeapSnapshotCommon.AllocationNodeCallers = function(nodesWithSingle Caller, branchingCallers) 45 WebInspector.HeapSnapshotCommon.AllocationNodeCallers = function(nodesWithSingle Caller, branchingCallers)
44 { 46 {
45 /** @type {!Array.<!WebInspector.HeapSnapshotCommon.SerializedAllocationNode >} */ 47 /** @type {!Array.<!WebInspector.HeapSnapshotCommon.SerializedAllocationNode >} */
46 this.nodesWithSingleCaller = nodesWithSingleCaller; 48 this.nodesWithSingleCaller = nodesWithSingleCaller;
47 /** @type {!Array.<!WebInspector.HeapSnapshotCommon.SerializedAllocationNode >} */ 49 /** @type {!Array.<!WebInspector.HeapSnapshotCommon.SerializedAllocationNode >} */
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 WebInspector.HeapSnapshotCommon.NodeFilter.prototype = 275 WebInspector.HeapSnapshotCommon.NodeFilter.prototype =
274 { 276 {
275 /** 277 /**
276 * @param {!WebInspector.HeapSnapshotCommon.NodeFilter} o 278 * @param {!WebInspector.HeapSnapshotCommon.NodeFilter} o
277 * @return {boolean} 279 * @return {boolean}
278 */ 280 */
279 equals: function(o) 281 equals: function(o)
280 { 282 {
281 return this.minNodeId === o.minNodeId && this.maxNodeId === o.maxNodeId && this.allocationNodeId === o.allocationNodeId; 283 return this.minNodeId === o.minNodeId && this.maxNodeId === o.maxNodeId && this.allocationNodeId === o.allocationNodeId;
282 } 284 }
283 } 285 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/HeapSnapshot.js ('k') | Source/devtools/front_end/HeapSnapshotGridNodes.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698