Index: Source/devtools/front_end/Script.js |
diff --git a/Source/devtools/front_end/Script.js b/Source/devtools/front_end/Script.js |
index 969d3011ba2b290bdb2b31f3b29f2aa9ddf2155a..0aba66624ca288314ff867fe64972bec3938ac52 100644 |
--- a/Source/devtools/front_end/Script.js |
+++ b/Source/devtools/front_end/Script.js |
@@ -124,7 +124,6 @@ WebInspector.Script.prototype = { |
searchInContent: function(query, caseSensitive, isRegex, callback) |
{ |
/** |
- * @this {WebInspector.Script} |
* @param {?Protocol.Error} error |
* @param {!Array.<!PageAgent.SearchMatch>} searchMatches |
*/ |
@@ -142,7 +141,7 @@ WebInspector.Script.prototype = { |
if (this.scriptId) { |
// Script failed to parse. |
- DebuggerAgent.searchInContent(this.scriptId, query, caseSensitive, isRegex, innerCallback.bind(this)); |
+ DebuggerAgent.searchInContent(this.scriptId, query, caseSensitive, isRegex, innerCallback); |
} else |
callback([]); |
}, |