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

Unified Diff: Source/devtools/front_end/timeline/TracingTimelineModel.js

Issue 631573002: [Devtools] Replace "Stacks" with "Causes" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update per reviewer comments, and remove the causes tab Created 6 years, 2 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: Source/devtools/front_end/timeline/TracingTimelineModel.js
diff --git a/Source/devtools/front_end/timeline/TracingTimelineModel.js b/Source/devtools/front_end/timeline/TracingTimelineModel.js
index 52a723183a0665eb42897f1d8b5d5853bcf12acb..2cd5efd8681d9011c0faab9ec83ef93ac7d996b8 100644
--- a/Source/devtools/front_end/timeline/TracingTimelineModel.js
+++ b/Source/devtools/front_end/timeline/TracingTimelineModel.js
@@ -121,11 +121,11 @@ WebInspector.TracingTimelineModel.VirtualThread = function(name)
WebInspector.TracingTimelineModel.prototype = {
/**
- * @param {boolean} captureStacks
+ * @param {boolean} captureCauses
* @param {boolean} captureMemory
* @param {boolean} capturePictures
*/
- startRecording: function(captureStacks, captureMemory, capturePictures)
+ startRecording: function(captureCauses, captureMemory, capturePictures)
{
function disabledByDefault(category)
{
@@ -137,7 +137,7 @@ WebInspector.TracingTimelineModel.prototype = {
disabledByDefault("devtools.timeline.frame"),
WebInspector.TracingModel.ConsoleEventCategory
];
- if (captureStacks) {
+ if (captureCauses) {
categoriesArray.push(disabledByDefault("devtools.timeline.stack"));
if (Runtime.experiments.isEnabled("timelineJSCPUProfile")) {
this._jsProfilerStarted = true;
« no previous file with comments | « Source/devtools/front_end/timeline/TimelinePanel.js ('k') | Source/devtools/front_end/timeline/TracingTimelineUIUtils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698