Web Inspector: Clicking a frame in the Rendering Frames timeline should select the...
[WebKit-https.git] / Source / WebInspectorUI / UserInterface / Views / RenderingFrameTimelineView.js
index 59de4fa..756e525 100644 (file)
@@ -143,11 +143,6 @@ WebInspector.RenderingFrameTimelineView.prototype = {
         return pathComponents;
     },
 
-    filterDidChange: function()
-    {
-        WebInspector.TimelineView.prototype.filterDidChange.call(this);
-    },
-
     matchTreeElementAgainstCustomFilters: function(treeElement)
     {
         return this._dataGrid.treeElementMatchesActiveScopeFilters(treeElement);
@@ -180,6 +175,15 @@ WebInspector.RenderingFrameTimelineView.prototype = {
         WebInspector.TimelineView.prototype.showContentViewForTreeElement.call(this, treeElement);
     },
 
+    treeElementDeselected: function(treeElement)
+    {
+        var dataGridNode = this._dataGrid.dataGridNodeForTreeElement(treeElement);
+        if (!dataGridNode)
+            return;
+
+        dataGridNode.deselect();
+    },
+
     treeElementSelected: function(treeElement, selectedByUser)
     {
         if (this._dataGrid.shouldIgnoreSelectionEvent())