Index: third_party/WebKit/Source/devtools/front_end/elements/MetricsSidebarPane.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/MetricsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/MetricsSidebarPane.js |
index d01e432e2d4a861d98b05c3f767d5f6e92b95811..28b8f9f325138183615312835c737de2b198b03f 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/elements/MetricsSidebarPane.js |
+++ b/third_party/WebKit/Source/devtools/front_end/elements/MetricsSidebarPane.js |
@@ -325,7 +325,7 @@ WebInspector.MetricsSidebarPane.prototype = { |
this._isEditingMetrics = true; |
- var config = new WebInspector.InplaceEditor.Config(this.editingCommitted.bind(this), this.editingCancelled.bind(this), context); |
+ var config = new WebInspector.InplaceEditor.Config(this._editingCommitted.bind(this), this.editingCancelled.bind(this), context); |
WebInspector.InplaceEditor.startEditing(targetElement, config); |
targetElement.getComponentSelection().setBaseAndExtent(targetElement, 0, targetElement, 1); |
@@ -460,7 +460,7 @@ WebInspector.MetricsSidebarPane.prototype = { |
} |
}, |
- editingCommitted: function(element, userInput, previousContent, context) |
+ _editingCommitted: function(element, userInput, previousContent, context) |
{ |
this.editingEnded(element, context); |
this._applyUserInput(element, userInput, previousContent, context, true); |