| OLD | NEW |
| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 this.line = line; | 110 this.line = line; |
| 111 /** @type {number} */ | 111 /** @type {number} */ |
| 112 this.column = column; | 112 this.column = column; |
| 113 } | 113 } |
| 114 | 114 |
| 115 /** | 115 /** |
| 116 * @constructor | 116 * @constructor |
| 117 * @param {number} id | 117 * @param {number} id |
| 118 * @param {string} name | 118 * @param {string} name |
| 119 * @param {number} distance | 119 * @param {number} distance |
| 120 * @param {number|undefined} nodeIndex | 120 * @param {number} nodeIndex |
| 121 * @param {number} retainedSize | 121 * @param {number} retainedSize |
| 122 * @param {number} selfSize | 122 * @param {number} selfSize |
| 123 * @param {string} type | 123 * @param {string} type |
| 124 */ | 124 */ |
| 125 WebInspector.HeapSnapshotCommon.Node = function(id, name, distance, nodeIndex, r
etainedSize, selfSize, type) | 125 WebInspector.HeapSnapshotCommon.Node = function(id, name, distance, nodeIndex, r
etainedSize, selfSize, type) |
| 126 { | 126 { |
| 127 this.id = id; | 127 this.id = id; |
| 128 this.name = name; | 128 this.name = name; |
| 129 this.distance = distance; | 129 this.distance = distance; |
| 130 this.nodeIndex = nodeIndex; | 130 this.nodeIndex = nodeIndex; |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 { | 340 { |
| 341 /** | 341 /** |
| 342 * @param {!WebInspector.HeapSnapshotCommon.NodeFilter} o | 342 * @param {!WebInspector.HeapSnapshotCommon.NodeFilter} o |
| 343 * @return {boolean} | 343 * @return {boolean} |
| 344 */ | 344 */ |
| 345 equals: function(o) | 345 equals: function(o) |
| 346 { | 346 { |
| 347 return this.minNodeId === o.minNodeId && this.maxNodeId === o.maxNodeId
&& this.allocationNodeId === o.allocationNodeId; | 347 return this.minNodeId === o.minNodeId && this.maxNodeId === o.maxNodeId
&& this.allocationNodeId === o.allocationNodeId; |
| 348 } | 348 } |
| 349 } | 349 } |
| OLD | NEW |