Chromium Code Reviews| Index: Source/devtools/front_end/CPUProfileView.js |
| diff --git a/Source/devtools/front_end/CPUProfileView.js b/Source/devtools/front_end/CPUProfileView.js |
| index 3f09f61c8030cbde558ce69b50d4cdb0aa2622c4..0f4adb7bc3bd4e4756e1d10b3f024999962d7e4b 100644 |
| --- a/Source/devtools/front_end/CPUProfileView.js |
| +++ b/Source/devtools/front_end/CPUProfileView.js |
| @@ -52,7 +52,7 @@ WebInspector.CPUProfileView = function(profileHeader) |
| this.viewSelectComboBox = new WebInspector.StatusBarComboBox(this._changeView.bind(this)); |
| var options = {}; |
| - options[WebInspector.CPUProfileView._TypeFlame] = this.viewSelectComboBox.createOption(WebInspector.UIString("Flame Chart"), "", WebInspector.CPUProfileView._TypeFlame); |
| + options[WebInspector.CPUProfileView._TypeFlame] = this.viewSelectComboBox.createOption(WebInspector.UIString("Icicle Chart"), "", WebInspector.CPUProfileView._TypeFlame); |
|
pfeldman
2014/03/26 14:40:25
I wonder if this should be simply "Chart"
|
| options[WebInspector.CPUProfileView._TypeHeavy] = this.viewSelectComboBox.createOption(WebInspector.UIString("Heavy (Bottom Up)"), "", WebInspector.CPUProfileView._TypeHeavy); |
| options[WebInspector.CPUProfileView._TypeTree] = this.viewSelectComboBox.createOption(WebInspector.UIString("Tree (Top Down)"), "", WebInspector.CPUProfileView._TypeTree); |
| @@ -1283,8 +1283,8 @@ WebInspector.CPUFlameChartDataProvider.prototype = { |
| var totalTime = this._millisecondsToString(timelineData.entryTotalTimes[entryIndex]); |
| pushEntryInfoRow(WebInspector.UIString("Self time"), selfTime); |
| pushEntryInfoRow(WebInspector.UIString("Total time"), totalTime); |
| - if (node.url) |
| - pushEntryInfoRow(WebInspector.UIString("URL"), node.url + ":" + node.lineNumber); |
| + var text = WebInspector.Linkifier.liveLocationText(node.scriptId, node.lineNumber, node.columnNumber); |
| + pushEntryInfoRow(WebInspector.UIString("URL"), text); |
| pushEntryInfoRow(WebInspector.UIString("Aggregated self time"), Number.secondsToString(node.selfTime / 1000, true)); |
| pushEntryInfoRow(WebInspector.UIString("Aggregated total time"), Number.secondsToString(node.totalTime / 1000, true)); |
| if (node.deoptReason && node.deoptReason !== "no reason") |