Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: LayoutTests/inspector/editor/editor-test.js

Issue 459833002: Revert of Revert of DevTools: Introduce module initializers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 @@
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";

Powered by Google App Engine
This is Rietveld 408576698