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

Unified Diff: Source/devtools/front_end/Script.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/RemoteObject.js ('k') | Source/devtools/front_end/SourceMap.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/Script.js
diff --git a/Source/devtools/front_end/Script.js b/Source/devtools/front_end/Script.js
index 969d3011ba2b290bdb2b31f3b29f2aa9ddf2155a..0aba66624ca288314ff867fe64972bec3938ac52 100644
--- a/Source/devtools/front_end/Script.js
+++ b/Source/devtools/front_end/Script.js
@@ -124,7 +124,6 @@ WebInspector.Script.prototype = {
searchInContent: function(query, caseSensitive, isRegex, callback)
{
/**
- * @this {WebInspector.Script}
* @param {?Protocol.Error} error
* @param {!Array.<!PageAgent.SearchMatch>} searchMatches
*/
@@ -142,7 +141,7 @@ WebInspector.Script.prototype = {
if (this.scriptId) {
// Script failed to parse.
- DebuggerAgent.searchInContent(this.scriptId, query, caseSensitive, isRegex, innerCallback.bind(this));
+ DebuggerAgent.searchInContent(this.scriptId, query, caseSensitive, isRegex, innerCallback);
} else
callback([]);
},
« no previous file with comments | « Source/devtools/front_end/RemoteObject.js ('k') | Source/devtools/front_end/SourceMap.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698