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

Unified Diff: Source/devtools/front_end/IsolatedFileSystem.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/InplaceEditor.js ('k') | Source/devtools/front_end/ObjectPropertiesSection.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/IsolatedFileSystem.js
diff --git a/Source/devtools/front_end/IsolatedFileSystem.js b/Source/devtools/front_end/IsolatedFileSystem.js
index 67a805057c9d230bb76217e4473e03cc378947c3..64087ee68c518e93651b1122d8d3bbc8c9ec2c8d 100644
--- a/Source/devtools/front_end/IsolatedFileSystem.js
+++ b/Source/devtools/front_end/IsolatedFileSystem.js
@@ -238,7 +238,7 @@ WebInspector.IsolatedFileSystem.prototype = {
*/
function fileEntryLoaded(fileEntry)
{
- fileEntry.remove(fileEntryRemoved.bind(this), errorHandler.bind(this));
+ fileEntry.remove(fileEntryRemoved, errorHandler.bind(this));
}
function fileEntryRemoved()
@@ -262,7 +262,7 @@ WebInspector.IsolatedFileSystem.prototype = {
*/
requestMetadata: function(path, callback)
{
- this._requestFileSystem(fileSystemLoaded.bind(this));
+ this._requestFileSystem(fileSystemLoaded);
/**
* @param {?DOMFileSystem} fs
« no previous file with comments | « Source/devtools/front_end/InplaceEditor.js ('k') | Source/devtools/front_end/ObjectPropertiesSection.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698