Chromium Code Reviews| Index: tools/codemap.js |
| diff --git a/tools/codemap.js b/tools/codemap.js |
| index f91d5254c18672cbf3e469c9b4c1d4f0bf8e39fe..5149cfc87371c5f87db3e04ab5945b014d329a27 100644 |
| --- a/tools/codemap.js |
| +++ b/tools/codemap.js |
| @@ -200,6 +200,11 @@ devtools.profiler.CodeMap.CodeEntry = function(size, opt_name) { |
| }; |
| +devtools.profiler.CodeMap.CodeEntry.prototype.getName = function() { |
| + return this.name; |
| +}; |
| + |
| + |
| devtools.profiler.CodeMap.CodeEntry.prototype.toString = function() { |
| return this.name + ': ' + this.size.toString(16); |
| }; |