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

Unified Diff: Source/devtools/front_end/timeline/TimelineModelImpl.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/TimelineModelImpl.js
diff --git a/Source/devtools/front_end/timeline/TimelineModelImpl.js b/Source/devtools/front_end/timeline/TimelineModelImpl.js
index e4e1607cb6f20e835cc6bdf749263443c923d5c6..79066b96360259984ee8782a3054d3aa4763ceb8 100644
--- a/Source/devtools/front_end/timeline/TimelineModelImpl.js
+++ b/Source/devtools/front_end/timeline/TimelineModelImpl.js
@@ -42,11 +42,11 @@ WebInspector.TimelineModelImpl.prototype = {
},
/**
- * @param {boolean} captureStacks
+ * @param {boolean} captureCauses
* @param {boolean} captureMemory
* @param {boolean} capturePictures
*/
- startRecording: function(captureStacks, captureMemory, capturePictures)
+ startRecording: function(captureCauses, captureMemory, capturePictures)
{
console.assert(!capturePictures, "Legacy timeline does not support capturing pictures");
this.reset();
@@ -54,7 +54,7 @@ WebInspector.TimelineModelImpl.prototype = {
console.assert(this._currentTarget);
this._clientInitiatedRecording = true;
- var maxStackFrames = captureStacks ? 30 : 0;
+ var maxStackFrames = captureCauses ? 30 : 0;
var includeGPUEvents = Runtime.experiments.isEnabled("gpuTimeline");
var liveEvents = [ WebInspector.TimelineModel.RecordType.BeginFrame,
WebInspector.TimelineModel.RecordType.DrawFrame,

Powered by Google App Engine
This is Rietveld 408576698