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

Unified Diff: Source/devtools/front_end/NavigatorView.js

Issue 200053006: DevTools: Fix [bound] function receivers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/IsolatedFileSystem.js ('k') | Source/devtools/front_end/PropertiesSidebarPane.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/NavigatorView.js
diff --git a/Source/devtools/front_end/NavigatorView.js b/Source/devtools/front_end/NavigatorView.js
index 728fe7ad4c7c0d6446af49ee27fa3cbc745bc30a..8c46864602fbf3e725c623cfc764252a9ce87d9d 100644
--- a/Source/devtools/front_end/NavigatorView.js
+++ b/Source/devtools/front_end/NavigatorView.js
@@ -407,7 +407,7 @@ WebInspector.NavigatorView.prototype = {
{
var node = this._uiSourceCodeNodes.get(uiSourceCode);
console.assert(node);
- node.rename(callback);
+ node.rename(callback.bind(this));
aandrey 2014/03/19 09:57:59 this should not have worked at all. is this a dead
apavlov 2014/03/19 10:16:59 Nope. It does throw an exception when executed :-/
/**
* @this {WebInspector.NavigatorView}
« no previous file with comments | « Source/devtools/front_end/IsolatedFileSystem.js ('k') | Source/devtools/front_end/PropertiesSidebarPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698