Index: Source/devtools/front_end/sources/SourcesView.js |
diff --git a/Source/devtools/front_end/sources/SourcesView.js b/Source/devtools/front_end/sources/SourcesView.js |
index 1d3bf4588ee37412457949aa1b26b25deba2dbdf..cb4027b733541501818fc29ea8ea206fe431884a 100644 |
--- a/Source/devtools/front_end/sources/SourcesView.js |
+++ b/Source/devtools/front_end/sources/SourcesView.js |
@@ -651,10 +651,10 @@ WebInspector.SourcesView.prototype = { |
switch (uiSourceCode.contentType()) { |
case WebInspector.resourceTypes.Document: |
case WebInspector.resourceTypes.Script: |
- WebInspector.JavaScriptOutlineDialog.show(this, uiSourceCode, this.showSourceLocation.bind(this, uiSourceCode)); |
+ WebInspector.JavaScriptOutlineDialog.show(uiSourceCode, this.showSourceLocation.bind(this, uiSourceCode)); |
return true; |
case WebInspector.resourceTypes.Stylesheet: |
- WebInspector.StyleSheetOutlineDialog.show(this, uiSourceCode, this.showSourceLocation.bind(this, uiSourceCode)); |
+ WebInspector.StyleSheetOutlineDialog.show(uiSourceCode, this.showSourceLocation.bind(this, uiSourceCode)); |
return true; |
default: |
// We don't want default browser shortcut to be executed, so pretend to handle this event. |
@@ -672,7 +672,7 @@ WebInspector.SourcesView.prototype = { |
var defaultScores = new Map(); |
for (var i = 1; i < uiSourceCodes.length; ++i) // Skip current element |
defaultScores.set(uiSourceCodes[i], uiSourceCodes.length - i); |
- WebInspector.OpenResourceDialog.show(this, this.element, query, defaultScores); |
+ WebInspector.OpenResourceDialog.show(this, query, defaultScores); |
}, |
/** |