| Index: LayoutTests/inspector/editor/editor-test.js
|
| diff --git a/LayoutTests/inspector/editor/editor-test.js b/LayoutTests/inspector/editor/editor-test.js
|
| index 326ac2da05325e3f4514af997851542e1567a411..d6471fb72c4957d3724e06d4ae9fe2bffe047e9e 100644
|
| --- a/LayoutTests/inspector/editor/editor-test.js
|
| +++ b/LayoutTests/inspector/editor/editor-test.js
|
| @@ -5,8 +5,8 @@ InspectorTest.createTestEditor = function(clientHeight, textEditorDelegate)
|
| {
|
| runtime.loadModule("source_frame");
|
| var textEditor = new WebInspector.CodeMirrorTextEditor("", textEditorDelegate || new WebInspector.TextEditorDelegate());
|
| - if (clientHeight)
|
| - textEditor.element.style.height = clientHeight + "px";
|
| + clientHeight = clientHeight || 100;
|
| + textEditor.element.style.height = clientHeight + "px";
|
| textEditor.element.style.flex = "none";
|
| textEditor.show(WebInspector.inspectorView.element);
|
| return textEditor;
|
|
|