Chromium Code Reviews| Index: Source/devtools/front_end/HeapSnapshotCommon.js |
| diff --git a/Source/devtools/front_end/HeapSnapshotCommon.js b/Source/devtools/front_end/HeapSnapshotCommon.js |
| index 5b6ee3f951ec2bc96040bc4c3509dd57aad1bda0..b99619ae6d68577be518f17ce9db490709e717df 100644 |
| --- a/Source/devtools/front_end/HeapSnapshotCommon.js |
| +++ b/Source/devtools/front_end/HeapSnapshotCommon.js |
| @@ -266,6 +266,8 @@ WebInspector.HeapSnapshotCommon.NodeFilter = function(minNodeId, maxNodeId) |
| this.minNodeId = minNodeId; |
| /** @type {number|undefined} */ |
| this.maxNodeId = maxNodeId; |
| + /** @type {number|undefined} */ |
| + this.allocationNodeId; |
|
alph
2014/03/18 12:28:22
Looks like there are two distinct filter types: no
yurys
2014/03/18 12:30:47
I will need to filter by both id range and allocat
|
| } |
| WebInspector.HeapSnapshotCommon.NodeFilter.prototype = |
| @@ -276,6 +278,6 @@ WebInspector.HeapSnapshotCommon.NodeFilter.prototype = |
| */ |
| equals: function(o) |
| { |
| - return this.minNodeId === o.minNodeId && this.maxNodeId === o.maxNodeId; |
| + return this.minNodeId === o.minNodeId && this.maxNodeId === o.maxNodeId && this.allocationNodeId === o.allocationNodeId; |
| } |
| } |