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..0c68934a40123ef52574a296b22e10eca03bb7b2 100644 |
--- a/LayoutTests/inspector/editor/editor-test.js |
+++ b/LayoutTests/inspector/editor/editor-test.js |
@@ -3,7 +3,7 @@ |
InspectorTest.createTestEditor = function(clientHeight, textEditorDelegate) |
{ |
- runtime.loadModule("source_frame"); |
+ loadScript("source_frame/SourceFrame.js"); |
var textEditor = new WebInspector.CodeMirrorTextEditor("", textEditorDelegate || new WebInspector.TextEditorDelegate()); |
if (clientHeight) |
textEditor.element.style.height = clientHeight + "px"; |