Index: Source/devtools/front_end/source_frame/CodeMirrorUtils.js |
diff --git a/Source/devtools/front_end/source_frame/CodeMirrorUtils.js b/Source/devtools/front_end/source_frame/CodeMirrorUtils.js |
index 31d0eb49d2137562e458de1f51c5eb3bb7816e9c..c75be1c072cc4f8997873ab540583e34ad280d32 100644 |
--- a/Source/devtools/front_end/source_frame/CodeMirrorUtils.js |
+++ b/Source/devtools/front_end/source_frame/CodeMirrorUtils.js |
@@ -84,7 +84,7 @@ WebInspector.CodeMirrorUtils.prototype = { |
editingContext.cssLoadView.show(element); |
WebInspector.setCurrentFocusElement(element); |
element.addEventListener("copy", this._consumeCopy, false); |
- var codeMirror = window.CodeMirror(element, { |
+ var codeMirror = new window.CodeMirror(element, { |
mode: config.mode, |
lineWrapping: config.lineWrapping, |
smartIndent: config.smartIndent, |