Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/inspector/editor/editor-test.js |
| diff --git a/third_party/WebKit/LayoutTests/inspector/editor/editor-test.js b/third_party/WebKit/LayoutTests/inspector/editor/editor-test.js |
| index 7422b14c4ac16b8e03d7ff8e109054e394c22e5b..051d4e2a3e82ab155905a95d39d621a72dafa772 100644 |
| --- a/third_party/WebKit/LayoutTests/inspector/editor/editor-test.js |
| +++ b/third_party/WebKit/LayoutTests/inspector/editor/editor-test.js |
| @@ -3,7 +3,7 @@ function initialize_EditorTests() |
| InspectorTest.createTestEditor = function(clientHeight, textEditorDelegate) |
| { |
| - var textEditor = new WebInspector.CodeMirrorTextEditor("", textEditorDelegate || new WebInspector.TextEditorDelegate()); |
| + var textEditor = new WebInspector.SourcesTextEditor(textEditorDelegate || new WebInspector.SourcesTextEditorDelegate()); |
|
lushnikov
2016/08/22 19:47:04
hackish, but works
|
| clientHeight = clientHeight || 100; |
| textEditor.element.style.height = clientHeight + "px"; |
| textEditor.element.style.flex = "none"; |