Index: Source/devtools/front_end/resources/ResourcesPanel.js |
diff --git a/Source/devtools/front_end/resources/ResourcesPanel.js b/Source/devtools/front_end/resources/ResourcesPanel.js |
index 15315d4ffb77ae5e29d53d0be36634e5eaca7295..760440a94d7c6da37ebbb820434d9ba6d0bf42a8 100644 |
--- a/Source/devtools/front_end/resources/ResourcesPanel.js |
+++ b/Source/devtools/front_end/resources/ResourcesPanel.js |
@@ -724,19 +724,13 @@ WebInspector.ResourcesPanel.prototype = { |
_findTreeElementForResource: function(resource) |
{ |
- function isAncestor(ancestor, object) |
- { |
- // Redirects, XHRs do not belong to the tree, it is fine to silently return false here. |
- return false; |
- } |
- |
function getParent(object) |
{ |
// Redirects, XHRs do not belong to the tree, it is fine to silently return false here. |
return null; |
} |
- return this.sidebarTree.findTreeElement(resource, isAncestor, getParent); |
+ return this.sidebarTree.findTreeElement(resource, getParent); |
}, |
showView: function(view) |