Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1443)

Unified Diff: Source/devtools/front_end/profiler/CPUProfileDataGrid.js

Issue 458963002: DevTools: Fix anonymous function names in CPU profile tree view. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/inspector/profiler/cpu-profiler-profiling-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/profiler/CPUProfileDataGrid.js
diff --git a/Source/devtools/front_end/profiler/CPUProfileDataGrid.js b/Source/devtools/front_end/profiler/CPUProfileDataGrid.js
index 7b36511046078393892f4bb3eaa5ffcff2eb3c10..42e9f28a9ab1a88bcccae2c6dd8ccd0c69e443d8 100644
--- a/Source/devtools/front_end/profiler/CPUProfileDataGrid.js
+++ b/Source/devtools/front_end/profiler/CPUProfileDataGrid.js
@@ -44,7 +44,7 @@ WebInspector.ProfileDataGridNode = function(profileNode, owningTree, hasChildren
this.callUID = profileNode.callUID;
this.selfTime = profileNode.selfTime;
this.totalTime = profileNode.totalTime;
- this.functionName = profileNode.functionName;
+ this.functionName = WebInspector.CPUProfileDataModel.beautifyFunctionName(profileNode.functionName);
this._deoptReason = (!profileNode.deoptReason || profileNode.deoptReason === "no reason") ? "" : profileNode.deoptReason;
this.url = profileNode.url;
}
« no previous file with comments | « LayoutTests/inspector/profiler/cpu-profiler-profiling-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698