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

Unified Diff: Source/devtools/front_end/SourcesSearchScope.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/SourcesPanel.js ('k') | Source/devtools/front_end/StatusBarButton.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/SourcesSearchScope.js
diff --git a/Source/devtools/front_end/SourcesSearchScope.js b/Source/devtools/front_end/SourcesSearchScope.js
index f9fab08b921f1cc17feaa7bf15d6242c94fae3e3..60f731164a95c323543f118aa35c848b29825ea7 100644
--- a/Source/devtools/front_end/SourcesSearchScope.js
+++ b/Source/devtools/front_end/SourcesSearchScope.js
@@ -49,7 +49,7 @@ WebInspector.SourcesSearchScope.prototype = {
var projects = this._workspace.projects().filter(this._filterOutServiceProjects);
var barrier = new CallbackBarrier();
var compositeProgress = new WebInspector.CompositeProgress(progress);
- progress.addEventListener(WebInspector.Progress.Events.Canceled, indexingCanceled.bind(this));
+ progress.addEventListener(WebInspector.Progress.Events.Canceled, indexingCanceled);
for (var i = 0; i < projects.length; ++i) {
var project = projects[i];
var projectProgress = compositeProgress.createSubProgress(project.uiSourceCodes().length);
« no previous file with comments | « Source/devtools/front_end/SourcesPanel.js ('k') | Source/devtools/front_end/StatusBarButton.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698