Web Inspector: Remove dead code in FrameTreeElement
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Oct 2016 20:04:03 +0000 (20:04 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Oct 2016 20:04:03 +0000 (20:04 +0000)
https://bugs.webkit.org/show_bug.cgi?id=163914

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2016-10-25
Reviewed by Brian Burg.

* UserInterface/Views/FrameTreeElement.js:

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

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

index 0665323..1644033 100644 (file)
@@ -1,3 +1,12 @@
+2016-10-25  Joseph Pecoraro  <pecoraro@apple.com>
+
+        Web Inspector: Remove dead code in FrameTreeElement
+        https://bugs.webkit.org/show_bug.cgi?id=163914
+
+        Reviewed by Brian Burg.
+
+        * UserInterface/Views/FrameTreeElement.js:
+
 2016-10-24  Devin Rousso  <dcrousso+webkit@gmail.com>
 
         Web Inspector: Scope chain shouldn't show empty Closure sections
 2016-10-24  Devin Rousso  <dcrousso+webkit@gmail.com>
 
         Web Inspector: Scope chain shouldn't show empty Closure sections
index 34662c5..9bc6db4 100644 (file)
@@ -46,9 +46,6 @@ WebInspector.FrameTreeElement = class FrameTreeElement extends WebInspector.Reso
         frame.domTree.addEventListener(WebInspector.DOMTree.Event.ContentFlowWasRemoved, this._childContentFlowWasRemoved, this);
         frame.domTree.addEventListener(WebInspector.DOMTree.Event.RootDOMNodeInvalidated, this._rootDOMNodeInvalidated, this);
 
         frame.domTree.addEventListener(WebInspector.DOMTree.Event.ContentFlowWasRemoved, this._childContentFlowWasRemoved, this);
         frame.domTree.addEventListener(WebInspector.DOMTree.Event.RootDOMNodeInvalidated, this._rootDOMNodeInvalidated, this);
 
-        if (this._frame.isMainFrame())
-            this._downloadingPage = false;
-
         this.shouldRefreshChildren = true;
         this.folderSettingsKey = this._frame.url.hash;
 
         this.shouldRefreshChildren = true;
         this.folderSettingsKey = this._frame.url.hash;