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

Unified Diff: Source/devtools/front_end/ExtensionAPI.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/ElementsTreeOutline.js ('k') | Source/devtools/front_end/FileSystemModel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ExtensionAPI.js
diff --git a/Source/devtools/front_end/ExtensionAPI.js b/Source/devtools/front_end/ExtensionAPI.js
index 300c6f88170c47468b37b1391f53f3c4b5900472..c1dbe125cf6dbaed2e10d6dc982177efe3f40e3b 100644
--- a/Source/devtools/front_end/ExtensionAPI.js
+++ b/Source/devtools/front_end/ExtensionAPI.js
@@ -629,11 +629,11 @@ function AuditResultImpl(id)
{
this._id = id;
- this.createURL = this._nodeFactory.bind(null, "url");
- this.createSnippet = this._nodeFactory.bind(null, "snippet");
- this.createText = this._nodeFactory.bind(null, "text");
- this.createObject = this._nodeFactory.bind(null, "object");
- this.createNode = this._nodeFactory.bind(null, "node");
+ this.createURL = this._nodeFactory.bind(this, "url");
+ this.createSnippet = this._nodeFactory.bind(this, "snippet");
+ this.createText = this._nodeFactory.bind(this, "text");
+ this.createObject = this._nodeFactory.bind(this, "object");
+ this.createNode = this._nodeFactory.bind(this, "node");
}
AuditResultImpl.prototype = {
« no previous file with comments | « Source/devtools/front_end/ElementsTreeOutline.js ('k') | Source/devtools/front_end/FileSystemModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698