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

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

Issue 2238883004: DevTools: Split off SourcesTextEditor from CodeMirrorTextEditor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge and move decorations to CMTE Created 4 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: 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";

Powered by Google App Engine
This is Rietveld 408576698