Index: Source/WebCore/inspector/front-end/NavigatorView.js |
=================================================================== |
--- Source/WebCore/inspector/front-end/NavigatorView.js (revision 145088) |
+++ Source/WebCore/inspector/front-end/NavigatorView.js (working copy) |
@@ -242,7 +242,7 @@ |
*/ |
rename: function(uiSourceCode, callback) |
{ |
- var scriptTreeElement = this._getScriptTreeElement[uiSourceCode.uri()]; |
+ var scriptTreeElement = this._getScriptTreeElement(uiSourceCode); |
if (!scriptTreeElement) |
return; |