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

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

Issue 2279513002: DevTools: make hitCount optional & experimental in Profiler domain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js b/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js
index 43c1eff54f8b4ed9e754fdb491ed66e95a796a0d..3cdab5a056733b454fd6a3a94989c806a569a018 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js
@@ -164,7 +164,7 @@ WebInspector.CPUProfileType.prototype = {
_consoleProfileFinished: function(event)
{
var data = /** @type {!WebInspector.CPUProfilerModel.EventData} */ (event.data);
- var cpuProfile = /** @type {!ProfilerAgent.CPUProfile} */ (data.cpuProfile);
+ var cpuProfile = /** @type {!ProfilerAgent.Profile} */ (data.cpuProfile);
var resolvedTitle = data.title;
if (typeof resolvedTitle === "undefined") {
resolvedTitle = this._anonymousConsoleProfileIdToTitle[data.id];
@@ -229,7 +229,7 @@ WebInspector.CPUProfileType.prototype = {
var recordedProfile;
/**
- * @param {?ProfilerAgent.CPUProfile} profile
+ * @param {?ProfilerAgent.Profile} profile
* @this {WebInspector.CPUProfileType}
*/
function didStopProfiling(profile)
@@ -301,7 +301,7 @@ WebInspector.CPUProfileHeader.prototype = {
},
/**
- * @return {!ProfilerAgent.CPUProfile}
+ * @return {!ProfilerAgent.Profile}
*/
protocolProfile: function()
{

Powered by Google App Engine
This is Rietveld 408576698