Index: LayoutTests/inspector/editor/editor-test.js |
diff --git a/LayoutTests/inspector/editor/editor-test.js b/LayoutTests/inspector/editor/editor-test.js |
index 0c68934a40123ef52574a296b22e10eca03bb7b2..326ac2da05325e3f4514af997851542e1567a411 100644 |
--- a/LayoutTests/inspector/editor/editor-test.js |
+++ b/LayoutTests/inspector/editor/editor-test.js |
@@ -3,7 +3,7 @@ function initialize_EditorTests() |
InspectorTest.createTestEditor = function(clientHeight, textEditorDelegate) |
{ |
- loadScript("source_frame/SourceFrame.js"); |
+ runtime.loadModule("source_frame"); |
var textEditor = new WebInspector.CodeMirrorTextEditor("", textEditorDelegate || new WebInspector.TextEditorDelegate()); |
if (clientHeight) |
textEditor.element.style.height = clientHeight + "px"; |