Index: Source/devtools/front_end/FileSystemProjectDelegate.js |
diff --git a/Source/devtools/front_end/FileSystemProjectDelegate.js b/Source/devtools/front_end/FileSystemProjectDelegate.js |
index 01e9f4af4e95ae93280735b3ac48cbd12d49a94f..efaca2deb9efb91af1983c7d4ed43fa3121a3f9d 100644 |
--- a/Source/devtools/front_end/FileSystemProjectDelegate.js |
+++ b/Source/devtools/front_end/FileSystemProjectDelegate.js |
@@ -199,7 +199,7 @@ WebInspector.FileSystemProjectDelegate.prototype = { |
searchInFileContent: function(path, query, caseSensitive, isRegex, callback) |
{ |
var filePath = this._filePathForPath(path); |
- this._fileSystem.requestFileContent(filePath, contentCallback.bind(this)); |
+ this._fileSystem.requestFileContent(filePath, contentCallback); |
/** |
* @param {?string} content |
@@ -236,7 +236,7 @@ WebInspector.FileSystemProjectDelegate.prototype = { |
function searchNextQuery() |
{ |
if (!queriesToRun.length) { |
- matchFileQueries.call(this, result); |
+ matchFileQueries.call(null, result); |
return; |
} |
var query = queriesToRun.shift(); |