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 be87ef4653700ad655d5a96f2f5dda22d125b718..979919969d3ec5e1842609c2d97a30052236d654 100644 |
--- a/Source/devtools/front_end/timeline/TracingTimelineModel.js |
+++ b/Source/devtools/front_end/timeline/TracingTimelineModel.js |
@@ -101,7 +101,6 @@ WebInspector.TracingTimelineModel.prototype = { |
*/ |
startRecording: function(captureStacks, captureMemory) |
{ |
- this.reset(); |
var categories; |
if (WebInspector.experimentsSettings.timelineTracingMode.isEnabled()) { |
categories = WebInspector.TracingTimelineModel.defaultTracingCategoryFilter; |
@@ -136,6 +135,7 @@ WebInspector.TracingTimelineModel.prototype = { |
*/ |
_startRecordingWithCategories: function(categories) |
{ |
+ this.reset(); |
this._tracingModel.start(categories, "", this._didStartRecordingTraceEvents.bind(this)); |
}, |