Index: Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js |
diff --git a/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js b/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js |
index 5302726461ed33fe8026840316bba3f2d22b56c3..fd8ea29f6413ecc102ab1f8d6cfb118134d1d142 100644 |
--- a/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js |
+++ b/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js |
@@ -695,7 +695,7 @@ WebInspector.CodeMirrorTextEditor.prototype = { |
var rule = classBase + i + "::before { content: '" + spaceChars + "';}\n"; |
rules += rule; |
} |
- var style = document.createElement("style"); |
+ var style = createElement("style"); |
style.textContent = rules; |
document.head.appendChild(style); |
}, |