| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 copyrightdd | 8 * * Redistributions of source code must retain the above copyrightdd |
| 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 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 createNodesProviderForDominator: function(nodeIndex) | 425 createNodesProviderForDominator: function(nodeIndex) |
| 426 { | 426 { |
| 427 return this.callFactoryMethod(null, "createNodesProviderForDominator", W
ebInspector.HeapSnapshotProviderProxy, nodeIndex); | 427 return this.callFactoryMethod(null, "createNodesProviderForDominator", W
ebInspector.HeapSnapshotProviderProxy, nodeIndex); |
| 428 }, | 428 }, |
| 429 | 429 |
| 430 allocationTracesTops: function(callback) | 430 allocationTracesTops: function(callback) |
| 431 { | 431 { |
| 432 this.callMethod(callback, "allocationTracesTops"); | 432 this.callMethod(callback, "allocationTracesTops"); |
| 433 }, | 433 }, |
| 434 | 434 |
| 435 /** |
| 436 * @param {number} nodeId |
| 437 * @param {function(!WebInspector.HeapSnapshotCommon.AllocationNodeCallers)}
callback |
| 438 */ |
| 435 allocationNodeCallers: function(nodeId, callback) | 439 allocationNodeCallers: function(nodeId, callback) |
| 436 { | 440 { |
| 437 this.callMethod(callback, "allocationNodeCallers", nodeId); | 441 this.callMethod(callback, "allocationNodeCallers", nodeId); |
| 438 }, | 442 }, |
| 439 | 443 |
| 440 dispose: function() | 444 dispose: function() |
| 441 { | 445 { |
| 442 throw new Error("Should never be called"); | 446 throw new Error("Should never be called"); |
| 443 }, | 447 }, |
| 444 | 448 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 * @param {!WebInspector.HeapSnapshotCommon.ComparatorConfig} comparator | 553 * @param {!WebInspector.HeapSnapshotCommon.ComparatorConfig} comparator |
| 550 * @param {function()} callback | 554 * @param {function()} callback |
| 551 */ | 555 */ |
| 552 sortAndRewind: function(comparator, callback) | 556 sortAndRewind: function(comparator, callback) |
| 553 { | 557 { |
| 554 this.callMethod(callback, "sortAndRewind", comparator); | 558 this.callMethod(callback, "sortAndRewind", comparator); |
| 555 }, | 559 }, |
| 556 | 560 |
| 557 __proto__: WebInspector.HeapSnapshotProxyObject.prototype | 561 __proto__: WebInspector.HeapSnapshotProxyObject.prototype |
| 558 } | 562 } |
| OLD | NEW |