Chromium Code Reviews| 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} |