Title: [153765] trunk/Source/WebInspectorUI
Revision
153765
Author
[email protected]
Date
2013-08-06 14:38:26 -0700 (Tue, 06 Aug 2013)

Log Message

Web Inspector: Remove stale code in ResourceContentView
https://bugs.webkit.org/show_bug.cgi?id=119527

The handling of Resource Type changes moved to ResourceClusterContentView,
this removeEventListener is stale and doesn't do anything anymore.

Patch by Joseph Pecoraro <[email protected]> on 2013-08-06
Reviewed by Timothy Hatcher.

* UserInterface/ResourceContentView.js:
(WebInspector.ResourceContentView.prototype.closed):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (153764 => 153765)


--- trunk/Source/WebInspectorUI/ChangeLog	2013-08-06 21:31:46 UTC (rev 153764)
+++ trunk/Source/WebInspectorUI/ChangeLog	2013-08-06 21:38:26 UTC (rev 153765)
@@ -1,3 +1,16 @@
+2013-08-06  Joseph Pecoraro  <[email protected]>
+
+        Web Inspector: Remove stale code in ResourceContentView
+        https://bugs.webkit.org/show_bug.cgi?id=119527
+
+        The handling of Resource Type changes moved to ResourceClusterContentView,
+        this removeEventListener is stale and doesn't do anything anymore.
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/ResourceContentView.js:
+        (WebInspector.ResourceContentView.prototype.closed):
+
 2013-08-06  Timothy Hatcher  <[email protected]>
 
         Convert all Web Inspector PDFs to SVGs.

Modified: trunk/Source/WebInspectorUI/UserInterface/ResourceContentView.js (153764 => 153765)


--- trunk/Source/WebInspectorUI/UserInterface/ResourceContentView.js	2013-08-06 21:31:46 UTC (rev 153764)
+++ trunk/Source/WebInspectorUI/UserInterface/ResourceContentView.js	2013-08-06 21:38:26 UTC (rev 153765)
@@ -80,8 +80,6 @@
 
     closed: function()
     {
-        this._resource.removeEventListener(WebInspector.Resource.Event.TypeDidChange, this._resourceTypeDidChange, this);
-
         if (!this.managesOwnIssues)
             WebInspector.issueManager.removeEventListener(WebInspector.IssueManager.Event.IssueWasAdded, this._issueWasAdded, this);
     },
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to