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

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: Minor cleanup 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 463d659f4698db183834408c502fb4657da8c56f..22e1af074471754acff7fa5c89e8749c68b7bc47 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;

Powered by Google App Engine
This is Rietveld 408576698