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

Unified Diff: Source/devtools/front_end/SourcesPanel.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/SourceMap.js ('k') | Source/devtools/front_end/SourcesSearchScope.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/SourcesPanel.js
diff --git a/Source/devtools/front_end/SourcesPanel.js b/Source/devtools/front_end/SourcesPanel.js
index f67f8ad95d58770f418923270a7ae5d66c7985d9..b47d7aad8b0c2945cbe322857fee0499fd01671d 100644
--- a/Source/devtools/front_end/SourcesPanel.js
+++ b/Source/devtools/front_end/SourcesPanel.js
@@ -223,7 +223,7 @@ WebInspector.SourcesPanel = function(workspaceForTest)
for (var i = 0; i < unsavedSourceCodes.length; ++i)
WebInspector.panels.sources.showUISourceCode(unsavedSourceCodes[i]);
}
- window.addEventListener("beforeunload", handleBeforeUnload.bind(this), true);
+ window.addEventListener("beforeunload", handleBeforeUnload, true);
}
WebInspector.SourcesPanel.minToolbarWidth = 215;
« no previous file with comments | « Source/devtools/front_end/SourceMap.js ('k') | Source/devtools/front_end/SourcesSearchScope.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698