Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1446)

Unified Diff: Source/devtools/front_end/FileSystemProjectDelegate.js

Issue 202623004: DevTools: [JSDoc] Fix function bind()-ing against their @this annotations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove unneeded code Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/FileSystemModel.js ('k') | Source/devtools/front_end/HandlerRegistry.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/devtools/front_end/FileSystemModel.js ('k') | Source/devtools/front_end/HandlerRegistry.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698