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

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

Issue 326693002: Timeline: fix reset logic of TracingTimelineModel & co (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/TimelinePanel.js
diff --git a/Source/devtools/front_end/timeline/TimelinePanel.js b/Source/devtools/front_end/timeline/TimelinePanel.js
index fdc46a43b22d843efef7fde7bba644cc2a0fca77..f5f02e718cbfc6cd18fce41384fda54494e67193 100644
--- a/Source/devtools/front_end/timeline/TimelinePanel.js
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js
@@ -709,6 +709,8 @@ WebInspector.TimelinePanel.prototype = {
_onClearButtonClick: function()
{
+ if (this._tracingModel)
+ this._tracingModel.reset();
this._model.reset();
},

Powered by Google App Engine
This is Rietveld 408576698