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

Unified Diff: Source/devtools/front_end/FileSystemModel.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/ExtensionAPI.js ('k') | Source/devtools/front_end/FileSystemProjectDelegate.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/FileSystemModel.js
diff --git a/Source/devtools/front_end/FileSystemModel.js b/Source/devtools/front_end/FileSystemModel.js
index 161d6d4cdf1e9b25406f6196d445b154067aa466..f8e1cf2244d196fd7627c98a8738078b2a62b956 100644
--- a/Source/devtools/front_end/FileSystemModel.js
+++ b/Source/devtools/front_end/FileSystemModel.js
@@ -121,7 +121,7 @@ WebInspector.FileSystemModel.prototype = {
callback(errorCode, backendRootEntry);
}
- FileSystemAgent.requestFileSystemRoot(origin, type, innerCallback.bind(this));
+ FileSystemAgent.requestFileSystemRoot(origin, type, innerCallback);
},
/**
@@ -196,7 +196,7 @@ WebInspector.FileSystemModel.prototype = {
callback(errorCode, backendEntries);
}
- FileSystemAgent.requestDirectoryContent(url, innerCallback.bind(this));
+ FileSystemAgent.requestDirectoryContent(url, innerCallback);
},
/**
@@ -244,7 +244,7 @@ WebInspector.FileSystemModel.prototype = {
callback(errorCode, metadata);
}
- FileSystemAgent.requestMetadata(entry.url, innerCallback.bind(this));
+ FileSystemAgent.requestMetadata(entry.url, innerCallback);
},
/**
@@ -288,7 +288,7 @@ WebInspector.FileSystemModel.prototype = {
callback(errorCode, content, charset);
}
- FileSystemAgent.requestFileContent(url, readAsText, start, end, charset, innerCallback.bind(this));
+ FileSystemAgent.requestFileContent(url, readAsText, start, end, charset, innerCallback);
},
/**
* @param {!WebInspector.FileSystemModel.Entry} entry
@@ -332,7 +332,7 @@ WebInspector.FileSystemModel.prototype = {
callback(errorCode);
}
- FileSystemAgent.deleteEntry(url, innerCallback.bind(this));
+ FileSystemAgent.deleteEntry(url, innerCallback);
},
/**
« no previous file with comments | « Source/devtools/front_end/ExtensionAPI.js ('k') | Source/devtools/front_end/FileSystemProjectDelegate.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698