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

Unified Diff: third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js

Issue 1932483002: DevTools: add measurement units to profile tree headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js b/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js
index ae78647a3e3e08a346e4700929ea4dfc6d5fb53e..921494c88c85e0f97ad8e2f1969f363aba9ee336 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js
@@ -21,6 +21,15 @@ WebInspector.HeapProfileView = function(profileHeader)
}
WebInspector.HeapProfileView.prototype = {
+ /**
+ * @override
+ * @return {string}
+ */
+ units: function()
+ {
+ return "Size [bytes]";
caseq 2016/04/27 21:24:07 WebInspector.UIString()
alph 2016/04/28 00:47:26 Done.
+ },
+
__proto__: WebInspector.ProfileView.prototype
}

Powered by Google App Engine
This is Rietveld 408576698