OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 280 North Inc. All Rights Reserved. | 2 * Copyright (C) 2009 280 North 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 27 matching lines...) Expand all Loading... |
38 | 38 |
39 this.tree = owningTree; | 39 this.tree = owningTree; |
40 /** @type {!Map<string, !WebInspector.ProfileDataGridNode>} */ | 40 /** @type {!Map<string, !WebInspector.ProfileDataGridNode>} */ |
41 this.childrenByCallUID = new Map(); | 41 this.childrenByCallUID = new Map(); |
42 this.lastComparator = null; | 42 this.lastComparator = null; |
43 | 43 |
44 this.callUID = profileNode.callUID; | 44 this.callUID = profileNode.callUID; |
45 this.self = profileNode.self; | 45 this.self = profileNode.self; |
46 this.total = profileNode.total; | 46 this.total = profileNode.total; |
47 this.functionName = WebInspector.beautifyFunctionName(profileNode.functionNa
me); | 47 this.functionName = WebInspector.beautifyFunctionName(profileNode.functionNa
me); |
48 this._deoptReason = profileNode.deoptReason && profileNode.deoptReason !== "
no reason" ? profileNode.deoptReason : ""; | 48 this._deoptReason = profileNode.deoptReason || ""; |
49 this.url = profileNode.url; | 49 this.url = profileNode.url; |
50 } | 50 } |
51 | 51 |
52 WebInspector.ProfileDataGridNode.prototype = { | 52 WebInspector.ProfileDataGridNode.prototype = { |
53 /** | 53 /** |
54 * @override | 54 * @override |
55 * @param {string} columnId | 55 * @param {string} columnId |
56 * @return {!Element} | 56 * @return {!Element} |
57 */ | 57 */ |
58 createCell: function(columnId) | 58 createCell: function(columnId) |
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
647 * @return {string} | 647 * @return {string} |
648 */ | 648 */ |
649 formatPercent: function(value, node) { }, | 649 formatPercent: function(value, node) { }, |
650 | 650 |
651 /** | 651 /** |
652 * @param {!WebInspector.ProfileDataGridNode} node | 652 * @param {!WebInspector.ProfileDataGridNode} node |
653 * @return {?Element} | 653 * @return {?Element} |
654 */ | 654 */ |
655 linkifyNode: function(node) { } | 655 linkifyNode: function(node) { } |
656 } | 656 } |
OLD | NEW |