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 3422c2398ccaa058f3b943635fddc542135f3e8b..c55be6e7207749165461fb36851c880422ce03f3 100644 |
--- a/Source/devtools/front_end/timeline/TimelineModelImpl.js |
+++ b/Source/devtools/front_end/timeline/TimelineModelImpl.js |
@@ -36,9 +36,11 @@ WebInspector.TimelineModelImpl.prototype = { |
/** |
* @param {boolean} captureStacks |
* @param {boolean} captureMemory |
+ * @param {boolean} capturePictures |
*/ |
- startRecording: function(captureStacks, captureMemory) |
+ startRecording: function(captureStacks, captureMemory, capturePictures) |
{ |
+ console.assert(!capturePictures, "Legacy timeline does not support capturing pictures"); |
this._clientInitiatedRecording = true; |
this.reset(); |
var maxStackFrames = captureStacks ? 30 : 0; |