Index: Source/devtools/front_end/InplaceEditor.js |
diff --git a/Source/devtools/front_end/InplaceEditor.js b/Source/devtools/front_end/InplaceEditor.js |
index 655ea88a31a89c8e912a989fe66f82a82e0e323d..d0e1c363e1cdeb36157e5442267dac7e83956d12 100644 |
--- a/Source/devtools/front_end/InplaceEditor.js |
+++ b/Source/devtools/front_end/InplaceEditor.js |
@@ -114,7 +114,6 @@ WebInspector.InplaceEditor.prototype = { |
editingCommitted.call(element); |
} |
- /** @this {Element} */ |
function cleanUpAfterEditing() |
{ |
WebInspector.markBeingEdited(element, false); |
@@ -132,14 +131,14 @@ WebInspector.InplaceEditor.prototype = { |
function editingCancelled() |
{ |
self.cancelEditing(editingContext); |
- cleanUpAfterEditing.call(this); |
+ cleanUpAfterEditing(); |
cancelledCallback(this, context); |
} |
/** @this {Element} */ |
function editingCommitted() |
{ |
- cleanUpAfterEditing.call(this); |
+ cleanUpAfterEditing(); |
committedCallback(this, self.editorContent(editingContext), editingContext.oldText, context, moveDirection); |
} |