Index: inspector/front-end/ElementsPanel.js |
=================================================================== |
--- inspector/front-end/ElementsPanel.js (revision 53180) |
+++ inspector/front-end/ElementsPanel.js (working copy) |
@@ -63,7 +63,7 @@ |
this.panel.nodeSearchButton.toggled = false; |
} |
if (this._focusedDOMNode) |
- InjectedScriptAccess.addInspectedNode(this._focusedDOMNode.id, function() {}); |
+ InjectedScriptAccess.get(this._focusedDOMNode.injectedScriptId).addInspectedNode(this._focusedDOMNode.id, function() {}); |
}; |
this.contentElement.appendChild(this.treeOutline.element); |
@@ -236,7 +236,7 @@ |
} |
if (this._selectedPathOnReset) |
- InjectedScriptAccess.nodeByPath(this._selectedPathOnReset, selectLastSelectedNode.bind(this)); |
+ InjectedScriptAccess.getDefault().nodeByPath(this._selectedPathOnReset, selectLastSelectedNode.bind(this)); |
else |
selectNode.call(this); |
delete this._selectedPathOnReset; |
@@ -256,7 +256,7 @@ |
this._currentSearchResultIndex = 0; |
this._searchResults = []; |
- InjectedScriptAccess.searchCanceled(function() {}); |
+ InjectedScriptAccess.getDefault().searchCanceled(function() {}); |
}, |
performSearch: function(query) |
@@ -271,7 +271,7 @@ |
this._updatedMatchCountOnce = false; |
this._matchesCountUpdateTimeout = null; |
- InjectedScriptAccess.performSearch(whitespaceTrimmedQuery, function() {}); |
+ InjectedScriptAccess.getDefault().performSearch(whitespaceTrimmedQuery, function() {}); |
}, |
_updateMatchesCount: function() |