Web Inspector: Remove unused NavigationSidebarPanel.treeElementAddedOrChanged
authormattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Jul 2018 19:14:59 +0000 (19:14 +0000)
committermattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Jul 2018 19:14:59 +0000 (19:14 +0000)
https://bugs.webkit.org/show_bug.cgi?id=187508

Reviewed by Joseph Pecoraro.

* UserInterface/Views/NavigationSidebarPanel.js:
(WI.NavigationSidebarPanel.prototype._treeElementAddedOrChanged):
(WI.NavigationSidebarPanel.prototype.treeElementAddedOrChanged): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@233693 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/NavigationSidebarPanel.js

index c86bf12..f614b97 100644 (file)
@@ -1,5 +1,16 @@
 2018-07-10  Matt Baker  <mattbaker@apple.com>
 
+        Web Inspector: Remove unused NavigationSidebarPanel.treeElementAddedOrChanged
+        https://bugs.webkit.org/show_bug.cgi?id=187508
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Views/NavigationSidebarPanel.js:
+        (WI.NavigationSidebarPanel.prototype._treeElementAddedOrChanged):
+        (WI.NavigationSidebarPanel.prototype.treeElementAddedOrChanged): Deleted.
+
+2018-07-10  Matt Baker  <mattbaker@apple.com>
+
         Web Inspector: REGRESSION (r217505): Debugger content view doesn't update when left sidebar is collapsed
         https://bugs.webkit.org/show_bug.cgi?id=187482
         <rdar://problem/41989190>
index 5867308..59b1c9e 100644 (file)
@@ -449,11 +449,6 @@ WI.NavigationSidebarPanel = class NavigationSidebarPanel extends WI.SidebarPanel
         }
     }
 
-    treeElementAddedOrChanged(treeElement)
-    {
-        // Implemented by subclasses if needed.
-    }
-
     // Private
 
     _updateContentOverflowShadowVisibility()
@@ -604,8 +599,6 @@ WI.NavigationSidebarPanel = class NavigationSidebarPanel extends WI.SidebarPanel
 
         if (this.selected)
             this._checkElementsForPendingViewStateCookie([treeElement]);
-
-        this.treeElementAddedOrChanged(treeElement);
     }
 
     _treeElementDisclosureDidChange(event)