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

Unified Diff: Source/devtools/front_end/TimelineView.js

Issue 166273012: TimelinePanel: do not collapse record when user changes panel. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
« no previous file with comments | « Source/devtools/front_end/TimelinePanel.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/TimelineView.js
diff --git a/Source/devtools/front_end/TimelineView.js b/Source/devtools/front_end/TimelineView.js
index f3fa5bababb115ecae737dbf7c8f7edcc440d4a9..252cc4f4379c4d4f9956db3fdcbbd2c1a4cb5295 100644
--- a/Source/devtools/front_end/TimelineView.js
+++ b/Source/devtools/front_end/TimelineView.js
@@ -490,12 +490,15 @@ WebInspector.TimelineView.prototype = {
return [this._containerElement];
},
- wasShown: function()
+ refreshRecords: function()
{
- WebInspector.View.prototype.wasShown.call(this);
-
this._repopulateRecords();
this._updateSelectionDetails();
+ },
+
+ wasShown: function()
+ {
+ WebInspector.View.prototype.wasShown.call(this);
if (!WebInspector.TimelinePanel._categoryStylesInitialized) {
WebInspector.TimelinePanel._categoryStylesInitialized = true;
« no previous file with comments | « Source/devtools/front_end/TimelinePanel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698