Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / devtools / front_end / NavigatorView.js
index 5b7fb2d..96c5875 100644 (file)
@@ -1052,7 +1052,7 @@ WebInspector.NavigatorUISourceCodeTreeNode.prototype = {
         this.parent.treeElement().expand();
         this._treeElement.reveal();
         if (select)
-            this._treeElement.select();
+            this._treeElement.select(true);
     },
 
     /**
@@ -1119,9 +1119,9 @@ WebInspector.NavigatorUISourceCodeTreeNode.prototype = {
                 callback(committed);
         }
 
-        var editingConfig = new WebInspector.EditingConfig(commitHandler.bind(this), cancelHandler.bind(this));
+        var editingConfig = new WebInspector.InplaceEditor.Config(commitHandler.bind(this), cancelHandler.bind(this));
         this.updateTitle(true);
-        WebInspector.startEditing(this._treeElement.titleElement, editingConfig);
+        WebInspector.InplaceEditor.startEditing(this._treeElement.titleElement, editingConfig);
         window.getSelection().setBaseAndExtent(this._treeElement.titleElement, 0, this._treeElement.titleElement, 1);
     },